Windows 7 – Edit Hosts File

Do you want to edit the hosts file in window 7?

Hosts file is system file which is used map the hostnames and an IP addresses for bypassing the DNS Server.

Path of hosts file in Windows 7

%systemroot%\system32\drivers\etc\

Steps to Edit the Hosts File

  • Open the Notepad with the option “Run as administrator
Windows 7 – Edit the Hosts File

Windows 7 – Edit the Hosts File

  • Now Navigate the system32\drivers\etc\ folder and open the hosts file
Windows 7 – Edit the Hosts File

Windows 7 – Edit the Hosts File

Now make your changes to the Hosts file and save hosts file.