How To Modify Hosts File On Windows

The hosts file is located at the following address:

C:\windows\system32\drivers\etc\

or

%systemroot%\system32\drivers\etc\
But you will need to open Notepad with “Run as Administrator” first and then open it through there otherwise it will give a permissions problem