Your kids are spending way too much time on a certain website and you are not happy with it? Discover adult websites in the History after your kids used your computer?

If your kids still won’t listen even after all the nagging, you might want to just block the websites you don’t want them to visit. In just 3 simple steps, without any software downloading, you can block as many websites as you want easily.

Step 1
Click Start > Run. Type notepad C:/Windows/System32/drivers/etc/hosts in the “Open:” field and click OK.

Run hosts

Step 2
A notepad will pop up. Find the line where it says “127.0.0.1 localhost

Locate Localhost

Step 3
Immediately under the “127.0.0.1 localhost“, enter the website you want to block by using the format “127.0.0.1 webaddress.com”. For example, you want to block Google and Yahoo from being accessed:

Block website

You can block as many websites as you want, just make sure you only enter one URL per line. To remove the blocked websites, just simply remove the line and you are done.

Demo

Click on the Fullscreen icon icon for a full screen view.



Digg This!   Stumble It!   Bookmark on Del.icio.us!  submit to reddit Tweet This Email to a friend Subscribe to RSS feed

This post has 13 comments.

  1. Nice site. I am now subscribed via google reader. I learn this site via entrecard

    Reply

  2. Vincent

    28 Jan 08
    12:23 am

    Thanks Dexter, I remember dropping a card at your blog :D

    Reply

  3. LEE

    06 Jul 08
    6:34 am

    Hey there. I just tried it but it keeps saying i don’t have enough memory and to try again! but i know i have enough memory since i barely use or save/download anything on my computer! please help!

    thanks!

    Reply

  4. Vincent

    06 Jul 08
    11:10 am

    Hello Lee, May I know at which part it says you don’t have enough memory? That should not happen because you don’t install anything here, but just editing a text file.

    Reply

  5. Leslie

    10 Oct 08
    12:13 am

    this didn’t work. I was able to access all the website I put in there.

    Reply

  6. This site locks my mouse and scroll button. I feel that it should dealeted from the internet

    Reply

  7. Vincent

    13 Dec 08
    11:52 am

    @James: I guess it’s caused by something else instead, since I don’t see how this blog can affect the responsiveness of your mouse.

    Reply

  8. Confused

    16 Mar 09
    1:02 am

    i opened it in command promt …. tried to add the lines as you all suggest, but it told that it couldnt be done since it was a “read-only file” …. tried doing it in notepad , and it told me it couldnt create the path file …./hosts !

    are you supposed to save the txt file to replace the original hosts file ??

    Reply

  9. kazman

    18 May 09
    7:10 am

    how do u finish it off do ui just click the x button or do u save it im lost

    Reply

  10. bro

    12 Feb 10
    1:52 am

    i cant block http://88.225.217.222:8080/ this adress. its not working

    Reply

  11. jack

    28 Feb 10
    8:08 pm

    other tricks for any website block not a use software not a old tricks host file

    Reply

  12. kenny

    01 Mar 10
    6:13 am

    bro, if you want to block http://88.225.217.222:8080/ then you need to put this line in the hosts file just like described in the blog..

    “127.0.0.1 http://88.225.217.222:8080/

    Then you save the file and close the window…

    Reply

  13. amit

    11 Mar 10
    8:48 pm

    ya it works but i have 1question that it doesn’t block the whole site.it only block the specific name u typed

    Reply

Trackbacks