How To Edit Windows 7 Hosts File To Block Unblock Websites
Advertisements
Hosts file is an important file which contains the IP addresses list assigned to a particular Website list in sequential manner. This file may or may not have any IP address list depending on how you use it.
The need for hosts file editing arrives when there is some virus or trojan attack which blocks or redirects certain websites to certain wrong websites.
See : A particular website in not opening
In this article I will tell you how to view and edit the Windows 7 hosts file.
Browse to the below Path:
C:\Windows\System32\drivers\etc
Note : If you have Windows 7 Installed at a different location than C:, replace the drive letter in the path above.
Double Click on the “hosts” File, it will open a window like one below asking which application to open the file with:
Select Notepad as highlighted in yellow above and click OK. This will open the hosts file as seen below:
You can check the lines which do not start with a # symbol in the above file. These lines refer to the lists of IP addresses which are assigned to certain domains. This will help you analyze if everything with the hosts file is fine or there is any malware blocking or redirecting websites.
You can follow us on Twitter or join our Facebook Fan Page for more updates like this and You can also ask a problems related to computers or technology on Ask Technix Update and get your solutions faster.
Author: Rohit KhuranaSoftware Engineer by profession. I am a part time tech blogger and believe in blogging because I enjoy writing on technology. I also write about Cars and Bikes at www.carblogindia.com. You can catch me on twitter @rohit_khurana. Get in touch with me at RohitKhurana.in.
















No show how to put in the blocked web site one..
[...] recently wrote about Editing Windows Hosts File Manually , but if you are not sure how to make changes to hosts file, then don’t worry, there is a free [...]
unfinished tutorial. what the heck?