How to Block a Website ? | JamiiForums | The Home of Great Thinkers

Dismiss Notice
You are browsing this site as a guest. It takes 2 minutes to CREATE AN ACCOUNT and less than 1 minute to LOGIN

How to Block a Website ?

Discussion in 'Tech, Gadgets & Science Forum' started by MziziMkavu, Oct 26, 2010.

  1. MziziMkavu

    MziziMkavu JF-Expert Member

    Oct 26, 2010
    Joined: Feb 3, 2009
    Messages: 39,607
    Likes Received: 4,599
    Trophy Points: 280
    [​IMG]Some times it becomes necessary to block a website on our Computers for one or other reason. You can easily and effectivily block access to a website by adding it to your Windows HOSTS file. Once the website is blocked in the HOSTS file, it will not appear in any of the browsers. That is, the website becomes completely unavailable.

    1. Go to your HOSTS file which is located at:
    C:\WINNT\SYSTEM32\DRIVERS\ETC for Win 2000
    C:\WINDOWS for Windows 98 and ME
    2. Open HOSTS with Notepad.
    The default Windows HOSTS looks like this:
    # Copyright © 1993-1999 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:
    # # source server
    # # x client host
    # localhost
    3. Directly under the line that says Localhost, you will want to type: name of the URL you want to block
    For example to block the website, simply type:
    Other parts of MySpace could be blocked in a similar way:
    etc etc etc…
    It is necessary to add a website with and without the “www.”. You can add any number of websites to this list.
    4. Close Notepad and answer “Yes” when prompted.
    5. After blocking the website, test it in any of the browser. If every thing is done as said above,the website must not appear in any of the web browsers. You should see a Cannot find server or DNS Error saying: “The page cannot be displayed”. I have also created a virus to block a website which automatically blocks a list of websites as specified in the source program.
    Some people suggest that your add a website to the Internet Explorer ‘Privacy’ settings. This does not block a site. It only stops that site from using cookies

    Source: How to Block a Website ?
  2. BrainPower

    BrainPower Senior Member

    Oct 26, 2010
    Joined: May 19, 2009
    Messages: 149
    Likes Received: 0
    Trophy Points: 33
    Asante Kaka...... Hiki kitu ndio kilikuwa kinanipiga chenga . Kumbe simple.. Dah
  3. Amoeba

    Amoeba JF-Expert Member

    Oct 26, 2010
    Joined: Aug 20, 2009
    Messages: 3,328
    Likes Received: 93
    Trophy Points: 0
    Inakuwaje kublock a website kwa clients wote walio katika LAN? na kwa specific lients je, inawezekana? thanx
  4. Kilongwe

    Kilongwe JF-Expert Member

    Oct 26, 2010
    Joined: Feb 7, 2008
    Messages: 424
    Likes Received: 12
    Trophy Points: 35
    Hii inawezekanika endapo utatumia Access list,distribution list au hata route map inategemeana na kifaa unachotumia kuunganisha hiyo LAN yako na WAN.Kama ni mzee wa Router au Switch(Catalyst) hii inawezekanika.Ila kama unatumia SOHO switch basi cheki manual zao jinsi ya kufanya hivyo.
  5. Amoeba

    Amoeba JF-Expert Member

    Oct 26, 2010
    Joined: Aug 20, 2009
    Messages: 3,328
    Likes Received: 93
    Trophy Points: 0
    Mkuu, mimi natumia switch, unaweza kunishushia somo kidogo hapo? thanx