Thursday, February 02, 2012

Block any website on your computer [Parents Friendly]

yoo guys its TE!, do you want to block a site in your local computer? or change the localhost name? or want to give a specific name to known IP address? its simple. You can do it by editing the host file in your windows OS. So first of all what is the host file?

The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists.

You could find windows hosts files in following locations..
Win 98/ME = C:\WINDOWS

Open the hosts file in notepad.
For example if you want to block a site called
Type following commands in the bottom of your host file,

When you surf to a site, Windows automatically checks to see if the address is located in the Hosts file. The number is the "loop back" IP address of your own computer, so Windows skips the link to the site ( and moves on. The ad server can't open its window, so it can't load any programs, spyware, or cookie files either.
PS - Was This Post Informative? 
Please Bother to Leave your Precious Feedback to Us! And also DON'T Forget to Click on Ads. 
Keep Visiting   :-)
Thanks and  Regards [Team Critically Geek]