OK, heres a slight variation for you.
iPhone 4 got stuck in recovery mode bringing up the error code 1013.
Tried all the fixes on this topic, the iPhone4 in question we purchased SIM free direct from apple here in the UK, none worked just kept getting stuck in the loop.
iTunes is installed on a MacBook Pro.
So called the apple store, went along and was told it was a hardware issue as they couldn't sort it out either, so they rep;aced it and gave us a brand new one.
Initial plug in to iTunes restored the last back up ok and I thought we were cooking on gas.
Then it went in to update mode and hey presto I am right back where I started with the phone stuck in the restore loop with the error code 1013.
On both phones to solve the problem I used 2 MacBook Pro's and a several windows based PC's but to no avail.
In the hosts files there is no gs.apple.com or the related IP address mentioned they seemed fine. When I type gs.apple.com in to safari I get the 404 error page.
Any ideas?
Simon.