How to Modify Hosts File on Windows

The hosts file is located at the following address:

C:\windows\system32\drivers\etc</span>

or

%systemroot%\system32\drivers\etc</span>
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