I updated some entries in the hosts file at C:\WINDOWS\System32\drivers\etc
. As a test, I decided to make Google point to 127.0.0.1
.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
::1 localhost
127.0.0.1 google.com
This works fine on Windows Vista, but not on Widows 7. When I type google.com
into my browser, it goes directly to Google's website.
I am not using a proxy server, and I think there might be some temporary DNS settings that need to be flushed, but I'm not sure.
Does anyone know how to fix this?
Answer
You may have to restart Internet Explorer or Firefox, or whatever browser you are using.
Also, try going to command prompt and typing:
ipconfig /flushdns
Lastly, double check you are typing google.com in the address bar and remember that both google.com and www.google.com are completely different as far as DNS is concerned and you will need to add an entry for both.
Comments
Post a Comment