Blocking Individual Internet Sites...

Discussion in 'General' started by Bradish, 17 Nov 2005.

  1. Bradish

    Bradish What's a Dremel?

    Joined:
    7 Mar 2004
    Posts:
    157
    Likes Received:
    0
    Hey guys,

    Feel free to bitch at me if this isn't an appropriate area for this post, but it seemed the best to me... Anyway, I am looking to block a certain internet site (www.edline.com and www.edline.net ) because I am looking to have a good time this weekend, but that plan will be cut short if my parents see my 57% in Physics.
    I'm not sure if I totally understood a post in a different forum, but to me it sounded like I could add the websites in question to the hosts file (c:\windows\system32\drivers\etc\hosts) with an ip of 127.0.0.1 and it would display a "This page cannot be displayed'' error, which is exactly what I am looking for. Please correct my understanding of this file if I am wrong though.

    Either way, if by the hosts file or another method you have, if anyone could please help me with this that would be great. (And a rather covert method like the hosts file is also a plus ;) )

    Thanks guys,
    -Brad
     
  2. Malvolio

    Malvolio .

    Joined:
    14 Dec 2003
    Posts:
    4,632
    Likes Received:
    178
    Alright, to get you started: open up the "hosts" file in a text editor (any will do really), then enter the following line to the very bottom of the document:

    127.0.0.1 edline.com
    127.0.0.1 edline.net



    Works like a charm ;)
     
  3. Lovah

    Lovah Apple and Canon fanboy

    Joined:
    10 Jul 2002
    Posts:
    3,846
    Likes Received:
    25
    lol funny stuff :)
     
  4. Bradish

    Bradish What's a Dremel?

    Joined:
    7 Mar 2004
    Posts:
    157
    Likes Received:
    0
    Alright, i dunno if its just my comp or what, but i went to the file edited it so those two lines were at the very bottom, restarted, and both of the sites still show up fine.

    This is what the file looks like
    Code:
    # 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
    
    127.0.0.1     local host
    127.0.0.1 edline.com
    127.0.0.1 edline.net
    
    Thanks again for the help.
    -Brad
     
  5. .308AR

    .308AR What's a Dremel?

    Joined:
    8 May 2005
    Posts:
    752
    Likes Received:
    0
    A bit dishonest, don't you think?
     
  6. Bradish

    Bradish What's a Dremel?

    Joined:
    7 Mar 2004
    Posts:
    157
    Likes Received:
    0
    Hmm dishonest? no. If they ask me if I edited the host file so that I could not be ground for the weekend, I will tell them that yes I did. However I dont think that will happen, so there is no need to be dishonest. Besides, its mearly a delay of punishment, not all together getting rid of.
     
  7. Rd52

    Rd52 Minimodder

    Joined:
    3 Jun 2005
    Posts:
    206
    Likes Received:
    0
    its not dishones ive done this before but with another site i got a B- in the end but parents never knew i ever had a D
     
  8. Bradish

    Bradish What's a Dremel?

    Joined:
    7 Mar 2004
    Posts:
    157
    Likes Received:
    0
    Mindin shedding some light on how I could get this to work, seeing as you know where I'm coming from? :D

    EDIT: Seems to me i fixed it, i just needed to put www. in front of each address. Thanks for all the help guys!

    -Brad
     
    Last edited: 17 Nov 2005
  9. Rd52

    Rd52 Minimodder

    Joined:
    3 Jun 2005
    Posts:
    206
    Likes Received:
    0
    i just blocked ports on my router to use IE and FF and my dad didnt kno what was up with the net so i prended to call tha cable company and i fixed it a couple of days later also i later blocked it using my norton internet security
     
  10. Malvolio

    Malvolio .

    Joined:
    14 Dec 2003
    Posts:
    4,632
    Likes Received:
    178
    Weird, on my laptop it didn't work when I put the www. in! :hehe:
     
  11. P2D

    P2D 99.999% Pure Spam!

    Joined:
    26 Mar 2004
    Posts:
    2,425
    Likes Received:
    0
    lmfao, classic!
     
  12. Tibby

    Tibby Back Once Again

    Joined:
    9 Oct 2005
    Posts:
    2,882
    Likes Received:
    39
    Wow this is a good way to block my sister from going on chat sites.

    She always goes on vampirefreaks.com :O

    Troubled teen looking for attention.
     

Share This Page