2

I made a change to my hosts file on my Windows 10 machine today, however after saving the changes in Notepad (running as admin) the changes do not appear to work.

For example I would expect this entry:

127.0.0.1 google.com

To stop a page from resolving to Google.com.

However, this doesn't appear to be happening and the web browser resolves to google.

Is there a cache setting I'm missing?

Thanks

Tikhon
  • 107

1 Answers1

5

You need to flush the DNS cache in Windows 10

Go to cmd and type

ipconfig /flushdns
ping google.com

now you shut return with 127.0.0.1 and restart your browser shut help to