7.11.09

Using "HOSTS" file to BLOCK websites

When we trying to open a site , the domain name have to be converted to IP ADDRESS.
Normally DNS server assigned by the ISP is doing this job.
But our computer first try to open the site using the file HOSTS.
HOSTS stores these IP addresses.
Open the file HOSTS using notepad, save the file after making changes.

  Default location :   C:\windows\system32\drivers\etc
#**************************************************
# To Block a site use the ip as 127.0.0.1
# To Faster access, Enter the real ip.
# Entries to your hosts file
#**************************************************
127.0.0.1 localhost
202.93.154.28  irctc.co.in
202.93.154.28  www.irctc.co.in
188.128.82.242  login.yahoo.com


#**************************************************
# Blocking Hosts
# Entries to your hosts file
#**************************************************
127.0.0.1 000freexxx.com
127.0.0.1 0190-dialer.com

127.0.0.2   facebook.com
127.0.0.3   www.facebook.com
127.0.0.4  orkut.com
127.0.0.5  linkedin.com



Download this HOSTS file to block Ad-related site

0 comments: