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.

Solved: How to block a website?

Discussion in 'Web & Email' started by eke21, Apr 8, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. eke21

    eke21 Thread Starter

    Joined:
    Jun 27, 2003
    Messages:
    129
    Hi guys,

    I just want to know how to block a certain website (www.friendster.com to be specific) because of some personal issue.

    If possible, I want internet explorer to display the "web page unavailable" page whenever the site to be visited is www.friendster.com.

    Please help me if what I am thinking is possible.

    Thanks in advance.
     
  2. kniht

    kniht

    Joined:
    May 7, 2006
    Messages:
    1,763
  3. Thalaric

    Thalaric

    Joined:
    Apr 8, 2008
    Messages:
    42
    Try this.

    C:\Windows\System32\drivers\etc\hosts.. open this file in notepad.

    Your file will look something like this.

    # Copyright (c) 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:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    You will need to instert this after the bottem line;

    127.0.0.1 www.friendster.com

    This will point the lookup for the site back to your own PC.
     
  4. eke21

    eke21 Thread Starter

    Joined:
    Jun 27, 2003
    Messages:
    129
    Thanks kniht and thalaric! I'll try this as soon as I arrive home. Thanks again.
     
  5. eke21

    eke21 Thread Starter

    Joined:
    Jun 27, 2003
    Messages:
    129
    Hi sirs, thanks a lot, I have succesfully blocked my computer from accessing a website. Thanks again!
     
  6. Sponsor

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/701598

  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