Friday, 26 February 2010

How to block a website without any software or firewall

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 siteyouwanttoblock.com , and that site will no longer be accessable. Save the file.
5] Done!

Example: The file entry should look like this

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 address like before.

ie., it should look like

127.0.0.3 www.orkut.com
127.0.0.4 www.facebook.com


Hoep this small tutorial could keep you going in simple way of blocking websites.

1 comment:

Saurabh said...

Good work dude...
also finding such that info.
thanks.....