Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   How to block sites (https://www.askmehelpdesk.com/showthread.php?t=194083)

  • Mar 13, 2008, 01:11 AM
    ksns1112
    How to block sites
    I would like to block a specific web site in my PC. I tried with c:\windows\system32\dreivers\etc\hosts

    127.0.0.1 Yahoo! (for example)

    But the same get opened with http:://yahoo.com/

    I need a permanent solutiion. Can any one help me in this regard

    Swaminathan N
    Chennai
  • Mar 13, 2008, 01:29 AM
    Clough
    What is happening that you feel the need to block the site, please?
  • Mar 13, 2008, 03:28 AM
    NeedKarma
    In Internet Explorer:
    Tools---->> Internet options..
    Then click the security tab...
    And select the restricted sites icon ( far right red color)
    And then click the sites button...
    And add those sites in it...
  • Mar 13, 2008, 02:28 PM
    jstrike
    Add a site to the restricted sites in IE won't stop you or anyone else from going to that site (at least not in IE7) and it won't stop someone from using another browser.

    In order to use the hosts file you would need to enter more than just Yahoo.
    127.0.0.1 Yahoo yahoo.com Yahoo! maps.yahoo.com
    Yahoo would be tough to do because of all the subdomains and as I said, Yahoo alone won't do it.

    Once you have that done you should close all your browsers down and flush the DNS cache on your computer... the flush is not really necessary but it won't hurt anything either.
    After all the browsers are closed open up a dos prompt and type: ipconfig /flushdns. Once that's done try to ping one of the sites you just added... it should resolve to 127.0.0.1.

    HTH,
    -Jeff

    EDIT: My mistake, I just noticed that the editor substituted the link for Yahoo!. Make sure you close down all your browser windows after you save the hosts files. If it's still giving you problems try disabling NETBIOS.
  • Mar 13, 2008, 09:01 PM
    ksns1112
    Quote:

    Originally Posted by Clough
    What is happening that you feel the need to block the site, please?

    I'm working in pvt co. Some of my staff members sit and watch the share market and spent their time comfortably. Nothing else.

    I would like to block only two sites

    National Stock Exchange of India Ltd.
    Bombay Stock Exchange - BSE site for SENSEX, stock quotes and market trend
  • Mar 13, 2008, 10:57 PM
    Clough
    Have you tried some of the advice above that has already been given?

  • All times are GMT -7. The time now is 01:16 AM.