Where is hosts file Windows XP?

Where is hosts file Windows XP?

Windows NT, Windows 2000, and Windows XP

  1. Select Start > All Programs > Accessories > Notepad.
  2. Select File > Open.
  3. In the File name field, enter C:\Windows\System32\Drivers\etc\hosts.
  4. Select Open.
  5. Make the necessary changes to the file.
  6. Select File > Save to save your changes.

Why is my hosts file not working?

3 Answers. Just changing the hosts file is not enough. You also need to flush your DNS cache. If the ping does not work, then it is likely that the permissions on the hostfile are incorrect.

Where is hosts file located in Windows?

Windows\System32\Drivers\
In Windows 10 the hosts file is located at c:\Windows\System32\Drivers\etc\hosts. Right click on Notepad in your start menu and select “Run as Administrator”. This is crucial to ensure you can make the required changes to the file. Now click File > Open and browse to : c:\Windows\System32\Drivers\etc\hosts.

How do I find my host file in Windows?

Press Windows Key + R. Type %WinDir%\System32\Drivers\Etc into the Run window and click OK. Open the hosts file with a text editor such as Notepad.

Does Chrome use the hosts file?

Google Chrome ignores your hosts file and does actual DNS lookups (despite what others may think, /etc/hosts is not part of DNS, it is what was used prior to DNS).

How do you test if hosts file is working?

The hosts file is a special file on your workstation computer that will store IP and name information….Testing your settings

  1. Open a command prompt.
  2. Use the command: ping -c2 example.com.
  3. The ping results will show the IP address and confirm that it is responding.

Where can I find host file?

The hosts file is a plain text file used to map host names to IP addresses. On Windows, it is located in the C:\Windows\System32\drivers\etc folder.

author

Back to Top