Use this guide.
Navigate to C:\Windows\System32\drivers\etc\ and locate “hosts” file.
Open this “hosts” file in Notepad (for Windows) and add this
188.8.131.52 gs.apple.com or 184.108.40.206 gs.apple.com
line as shown in the screenshot below:
Now simply save this file and you are good to go!
NOTE for Windows 7 and Vista: Start “Notepad” with Administrator privileges by right clicking on “Notepad” app, and click on “Run as Administrator“ option.