1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Blocking a website

Discussion in 'Web & Email' started by Logain721, Sep 18, 2004.

Thread Status:
Not open for further replies.
  1. Logain721

    Logain721 Thread Starter

    Joined:
    Apr 22, 2004
    Messages:
    211
    Ok I was just wondering if there is a way to prevent people from visiting yahoo and all associated sites such as the gaming part on my comp?

    Thanks
     
  2. pincmonkey

    pincmonkey Banned

    Joined:
    Jun 7, 2003
    Messages:
    173
    dont know why you would wnt to do this but yes. Your hosts file will either be located in c:\winnt\system32\drivers\etc or c:\windows\system32\drivers\etc depending on what version of windows you have. First right click on the file called hosts, click properties and make sure the read only box is unchecked. Next, open the file in notepad. under 127.0.0.1 localhost type:
    games.yahoo.com 127.0.0.1
    (spaces between name and IP denote a tab indent)
    and then:
    yahoo.com 127.0.0.1

    then goto file>save and select under save as file type :all files and name it hosts and remove the .txt it should have no extensions
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/275544

  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.
    Dismiss Notice