How do I open hosts file in Windows 8?

How do I open hosts file in Windows 8?

Hosts file in Windows 8 is stored in the location “C:/Windows/System32/drivers/etc/”. Go to this path and open the hosts file in Notepad. Select “All Files” in the file name dropdown to view the files in the folder. By default hosts file may not be visible under file name as text documents.

How do I use host editor?

Hit the start menu or press the Windows key and start typing Notepad. Right-click Notepad and choose Run as administrator. Now you’ll be able to edit and save changes to your HOSTS file. To map a domain, add a line based on the examples in the HOSTS file.

How do I open and edit a host file?


  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts.
  5. Make the necessary changes to the file.
  6. Select File > Save to save your changes.

How do I edit my hosts file in Windows 8?

Editing the Hosts File

  1. Start Windows File Explorer and go to C:\Windows\System32\drivers\etc folder.
  2. Make a backup copy of hosts file by simply copying the hosts file and then pasting it.
  3. Right-click the hosts file and select Open with.
  4. Select Notepad from the choice of programs displayed for you.

Does Windows use hosts file before DNS?

On most devices the hosts file is examined first before DNS (if DNS is configured configured). Note on Windows machines (windows 10,8,7,XP etc) changing the name resolution order is done using registry settings.

How do I find my DNS host file?

In Windows, the hosts file is located at C:\Windows\System32\drivers\etc\hosts. You will need to edit the file with administrative privileges.

How do I edit Windows hosts file?

Does the hosts file override DNS?

The hosts file on your computer allows you to override DNS and manually map hostnames (domains) to IP addresses. This can come in handy during migrations as you might want to see how your website looks on a different server, but perhaps the DNS hasn’t propagated yet.

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top