Post has been published on Varinder Sandhu 's Blog
Post has been published on http://www.varindersandhu.in/2013/04/03/windows-7-edit-hosts-file/
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.
<!-- google_ad_client = "pub-2404605494811633"; google_alternate_color = "FFFFFF"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_link = "0000FF"; google_color_bg = "FFFFFF"; google_color_text = "000000"; google_color_url = "008000"; google_ui_features = "rc:6"; //-->
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
Now Navigate the system32\drivers\etc\ folder and open the hosts file
Windows 7 – Edit the Hosts File
Now make your changes to the Hosts file and save hosts file.