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.

Step 2
A notepad will pop up. Find the line where it says “127.0.0.1 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:

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 icon for a full screen view.






27 Jan 08
6:42 pm
Nice site. I am now subscribed via google reader. I learn this site via entrecard
Reply
28 Jan 08
12:23 am
Thanks Dexter, I remember dropping a card at your blog
Reply
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
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
10 Oct 08
12:13 am
this didn’t work. I was able to access all the website I put in there.
Reply
13 Dec 08
9:34 am
This site locks my mouse and scroll button. I feel that it should dealeted from the internet
Reply
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
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
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
12 Feb 10
1:52 am
i cant block http://88.225.217.222:8080/ this adress. its not working
Reply
28 Feb 10
8:08 pm
other tricks for any website block not a use software not a old tricks host file
Reply
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
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
21 Jun 10
1:52 pm
That’s great tips, or turn to a web filter software is also a wise choice.
.-= (web filterĀ“s blog – Tips on setting Parental controls in Win7) =-.
Reply
28 Jun 10
11:26 am
how to unblock ?
Reply
30 Dec 10
7:28 pm
when i use proxy with firefox, this way is not working!! even if I turn of the DSN client.
Reply
25 Apr 11
11:26 am
great tips! I really need it to block bad webistes on my home computer.
Reply
17 May 11
6:35 pm
so all the time… these adblocking softwares r making money out of fooling innocent people
Reply
25 Sep 11
12:29 pm
Nice Post ! Thanks for sharing
Reply
27 Sep 11
4:49 pm
Thank you for the great post
Reply
12 Jan 12
1:37 pm
We have cost effective solutions at the best prices Guaranteed
We are open 365/24/7 For rental , sales and service
We can deliver results within your budget in one hour in the Miami area 2 hour with in the tri-county area.Place the phone number :Call now at 786-426-0062
Reply