Block websites in Windows 

Suppose you want to block some websites in Windows.

This method is very easy however it’s not that reliable. By ‘not reliable’ I mean there are just too many loopholes in it.

Still it’s worth a try because of the ease with which it can be implemented.

 Go to the below mentioned directory :

 C:\WINDOWS\system32\drivers\etc

 Open Hosts file and add one line. Eg: for blocking gmail.com

There will be a line already in it :

127.0.0.1       localhost

 Add following line :

 127.0.0.1      www.gmail.com

 Actually what happen is whenever you browse any website , it is searched in HOSTS file for any information first.

Here we are changing the website IP to 127.0.0.1 which is our localhost.

Thus, the website is not accessible. Thereby blocking it in indirect sense.  :)

 P.S. You may need to restart your system and clear cache from your web browser before using this method.

Popularity: 1%

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.

Switch to our mobile site