Tuesday, June 16, 2009

Block Websites Without Using any Software

Steps to block:
Browse C:\WINDOWS\system32\drivers\etc
Find the file named "HOSTS"
Open it in notepad
Under "127.0.0.1 localhost" Add 127.0.0.2 www.sitenameyouwantblocked.com , and that site will no longer be accessable.
Done!

So
127.0.0.1 localhost
127.0.0.2 www.blockedsite.com

-->www.blockedsite.com is now unaccessable<--

For every site after that you want to add, just add "1" to the last number in the internal ip (127.0.0.2) and then the addy like before.

127.0.0.3 www.yahoo.com
127.0.0.4 www.google.com
127.0.0.5 www.hotmail.com

Steps to unblock:
Now just remove the line (containing URL of site ) and if you have added more than one sites to block then make those number come in serial order like

127.0.0.1 localhost
127.0.0.2 www.orkut.com
127.0.0.3 anyothersite.com
127.0.0.4 anyothersite.com

Now for example if you want to unblock orkut.com then remove the line and number them in a way that they come in a serial manner

127.0.0.1 localhost
127.0.0.2 anyothersite.com
127.0.0.3 anyothersite.com

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo

No comments:

Post a Comment

Hey Guys! Thanks for visiting my blog. Hope you enjoy reading. Just leave your comments if you think this post is a worth readable! Your valuable comments are always welcomed. Please don't spam! and No abusive language would be tolerated. I would moderate your feedback and then it would be published. If you have any query I will try to give feedback as soon as possible.