Tuesday, July 13, 2010

Block unwanted Websites

Many people want to Block some websites that are harmful to there PC. Parents want to take care of there children by blocking porn websites and some offices blocks some special websites that may harm there network.

There are many software available on internet (Pay/Free) to block such websites.

So, is there a way to stop viewing unwanted web-pages without software? Answer is YES.

So, Let's see how can we do without software....

Steps:

1) Browse C:\WINDOWS\system32\drivers\etc
2) Find the file named "HOSTS"
3) Open it in notepad
4) Under "127.0.0.1 localhost"
   Add 127.0.0.2 www.sitename.com (Note: when ever you try to use this url it will divert to the given IP address.. and site won't be accessible...
5) Done!

You can add as many as rows in the host file to block the site... but there is still there could be a problem...


127.0.0.1 localhost
127.0.0.2 www.site1.com
127.0.0.3 www.site2.com
127.0.0.4 www.site3.com
etc...

Even you can add the site list in "Restricted Sites" under Internet Option -> Security.

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.Please don't spam,spam comments will be deleted upon reviews.