View Single Post
Old 27-01-2007, 12:21 AM #6
James's Avatar
James James is offline
Jolly good
 
Join Date: Oct 2002
Posts: 29,064


James James is offline
Jolly good
James's Avatar
 
Join Date: Oct 2002
Posts: 29,064


Default

There's one of the moderators here that has got that problem with this site...

This advice is mainly copied from another site...
Quote:
You need to edit a file on the computer called 'hosts'...

Make sure you can see all system and hidden files - Open up My Computer, go to 'Tools' menu, 'Folder Options', 'View' tab and select 'Show hidden files and folder' and untick 'Hide protected operating system files'.

In Windows Explorer go to 'windows' folder (usually inside the C: drive on 'My Computer' then 'system32' then 'drivers' then 'etc' and look for the file there called 'hosts'.

It may be read-only, right-click it, select Properties and untick read-only, then hit Apply/OK.

Go to 'Start' then 'Run' then type notepad and click OK. The notepad program should open.

Drag the hosts file into the Notepad window and it will open.

There should be only one entry in there (apart from lines starting with #):
127.0.0.1 localhost

Delete everything under that line.

-----

If that doesn't work go to 'Start' then 'Run' then type cmd then click OK

Then type ipconfig /flushdns in the black window

-----

If the site still doesn't work after that go to http://www.zoneedit.com/lookup.html and find the ip address (which will be something like 111.222.111.222) of your site...

Where it says 'Enter a host name for Forward DNS Lookup' enter the domain name of the site you can't access. eg. mysitename.com and click 'Look it up'

Copy the number under 'DNS Lookup Results' (a number like 111.222.111.222).

Go back to the hosts file and add 2 entries to it (with and without the www bit) for the site you can't access with its IP address - after the '127.0.0.1 localhost' line.

eg. The bottom of the text should then read...
127.0.0.1 localhost
111.222.111.222 mysitename.com
111.222.111.222 www.mysitename.com

-----

Maybe re-boot the computer, and hopefully it will work. If this site ever changes server though you will have to re-edit the hosts file again.
Mainly taken from here - http://forum.statcounter.com/vb/showthread.php?t=24506
James is offline   Reply With QuoteReply With Quote