Q: Hosts file ignored, windows 7 64 bit, firefox This thread is locked from future replies

I have successfully edited my hosts file in c:\windows\system32\drivers\etc\hosts using a notepad while running as administrator; I have mapped various <IP domains> in the format "", "", etc. (single space).  I have rebooted and verified that the hosts file is edited, but when doing a ping or navigating firefox to, I do not receive but instead the correct site.  I have looked in the c:\windows\sysWOW64 file but do not see a hosts file to edit.  I am trying to filter out various malicious websites.  I do not have the same problem in my network hub which is XP sp2.



Perhaps your hosts file is corrupted or in a wrong format, e.g. Unicode. I would try this:
1. Rename the original host file to get it out of the way.
2. Type this command:
    notepad %SystemRoot%\System32\drivers\etc\hosts.
3. Enter this single line:
4. Save and close the file.
5. Type this command:
    type  %SystemRoot%\System32\drivers\etc\hosts
    Can you see the single altavista line?
6. Type this command:
    What IP address do you see?

Did this solve your problem?

Sorry this didn't help.

43 people were helped by this reply

Question Info

Views: 72,147 Last updated: March 15, 2018 Applies to: