How to Edit the Hosts File in Windows – Knowligent
How to Edit the Hosts File in Windows

How to Edit the Hosts File in Windows

HomeHow to, TechHow to Edit the Hosts File in Windows

Can be useful for anyone in IT

How to Edit the Hosts File in Windows 10

The hosts file is a text file that’s located in the same place on all modern versions of Windows. Most people never need to dig into it, but if you do, you’ll need to know how to open and edit the hosts file.

However, some versions of Windows do not allow you to edit the hosts file directly. You will even get an error message if you try to save the changes. Fortunately, there is a simple tip that you can use to edit the hosts file in Windows 10, 8, 7, Vista, or XP.

The purpose of the hosts file was originally what DNS servers do today: map friendly domain names to unfriendly IP addresses.