How To Block Unwanted Sites Without Installing Any Software

Posted on July 23, 2008 by admin



Do you want to block a certain websites to prevent your kids from access to these sites?, or you want to block it because it has virus, Trojan or malware?, whatever the reason you want to block this site.

Of course there are many software that allow you to block some websites, but what if you wanted just to block one or two websites? installing software takes memory disks pace and CPU power making your computer more slower.

Instead of installing any additional software there is trick you can use to block certain website, in windows there is file called the Hosts files which is used to control mapping networks names

The hosts files is located in “C:\Windows\System32\drivers\etc” we are going to edit it to block certain websites

Note: make sure you backup copy of hosts files before you edit it

Right click on hosts file and choose open with then choose notepad

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
::1             localhost

Now you need to edit the hosts file and add this line

127.0.0.1       blockedsite.com

replace blockedsite.com with the site name you want to block, save the hosts file, now let’s try it you will noticed when you try to visit this site you will automatically redirect to 127.0.0.1 and it’s address for local machine.

Repeat this steps when you want to block additional sites.

Related posts:

  1. 5 Free Alternative For Microsoft Word Processing Software
  2. How To Remove Unwanted Items From Add or Remove Programs
  3. How To Change The Default Location For Installed Programs
  4. Privacy Policy
  5. Proxy Sites

Comments (1)

 

  1. Lorri Zeiders says:

    I am trying to block facebook and myspace from my computer (personal home computer with windows XP SP2). I followed your recommended steps but could still access these sites after savaing changes. Do you have any other suggestions.

    Thank you, Lorri