Adding an entry to the Microsoft Windows hosts file

20 users found this article helpful


  1. Open NotePad as an administrator.
    How-to: search for NotePad and right-click to run as Administrator.
  2. Go to File > Open and select C:\windows\system32\drivers\etc\hosts
  3. At the bottom of the file, add a host entry by specifying an IP address and host; for example:
  4. Click on File > Save to confirm the changes.


Mind that it may require to restart the Internet browser to take effect.

Was this article helpful?

Tell us how we can improve it.