1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Block a web site

Discussion in 'Security and Privacy' started by zhshqzyc, 2012/07/04.

  1. 2012/07/04
    zhshqzyc

    zhshqzyc Inactive Thread Starter

    Joined:
    2008/12/15
    Messages:
    140
    Likes Received:
    0
    Hello,


    My system: Windows 7(64 bit).
    I want to block a web site. I usually make a change at hosts file in
    Code:
    C:\Windows\System32\drivers\etc
    It works for blocking the web site www.abcdefg.com by setting
    Code:
    127.0.0.1 www.abcdefg.com
    However I am not able to block the underneath site such as
    Code:
    www.abcdefg.com/politics
    What I want to block everything in this site.

    Thanks for help.
     
  2. 2012/07/05
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    127.0.0.1 www.abcdefg.com

    Will block anything containing www.abcdefg.com

    Will not block anything not containing www.abcdefg.com (such as abcdefg.com/politics.

    So also add 127.0.0.1 abcdefg.com to the hosts file.
     
    Arie,
    #2

  3. to hide this advert.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.