Saturday, December 13, 2008

Block Or Unblock Websites without software !

Unblocking

Many times in schools, colleges & offices surfing some sites like orkut,etc are banned !
To overcome this you can unblock these or block some other websites and play pranks !

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.sitenameyouwantblocked.com , and that site will no longer be accessable.

PS : Keep a copy of HOSTS file, this will allow you to fall back at any time.

Here is the example and sample :

127.0.0.1 localhost
127.0.0.2 www.blockedsite1.com

**** www.blockedsite1.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.blockedsite2.com
127.0.0.4 www.blockedsite3.com


Blocking

Do The Following :
For eg you want to block www.xyz.com !

* Open the folder C:\WINDOWS\system32\drivers\etc
* There you will find a file named HOSTS
* Click on the file and press SHIFT and now right click on it .
* From the right click menu select Open with .
* Now, select Notepad to open the file from the list !
* Now, in the file under the line 127.0.0.1 localhost add another line as 127.0.0.2 www.xyz.com.
* Now, File>>Save !

Now, open your web browser and try openning www.xyz.com , it will not load !

To unblock sites just do the opposite !

No comments: