Sunday, July 27, 2008

Block Websites and ADS Without any Softwares !!!

In Windows

Steps 1

Browse C:\WINDOWS\system32\drivers\etc

Step 2
Open The File "HOSTS" in notepad

Step 3
add line
127.0.0.1 http://www.yahoo.com/
and the site yahoo will no longer be accessable.
example :

127.0.0.1 localhost
127.0.0.1 http://www.yahoo.com
127.0.0.1 http://www.orkut.com
127.0.0.1 http://www.msn.com
127.0.0.1 www.google.com

- http://www.yahoo.com and ohter listed there is now unaccessable


This also works with banner sites, just find the host name of the server with the banners and do the same thing with that addy.

In Linux

step 1
Open Terminal
step 2
Type /etc/hosts
step 3
add these lines
127.0.0.1 localhost
127.0.0.1 http://www.yahoo.com
127.0.0.1 http://www.orkut.com
127.0.0.1 http://www.msn.com
127.0.0.1 http://www.google.com

all the above site is now unaccessable...


If u want to block the ads site download host file From Here
and replace with ur hosts file.

No comments: