Computer Newbies forum

General discussion

How to block a website ??

by mariasimpson / June 19, 2004 5:45 PM PDT

Hi I don't know where to post this, but hope somebody out there can help. My daughter keeps on going to a Teen website which I don't like, is there a way for me to block the website so she cannot access it anymore? thank you. Maria

Discussion is locked
You are posting a reply to: How to block a website ??
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How to block a website ??
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Hosts file.
by Kees Bakker / June 19, 2004 6:47 PM PDT

Yes, there is. You can block the site in the hosts file.

For Windows 98 it's in c:\windows. For XP it's elsewhere but I don't know why, so you have to search for it in Explorer. It's just hosts (not hosts.dat or hosts.txt). See if you have it. There might be a host.sam (sample) with one example and instructions.

All you've got to do is add 1 line like
and it will be blocked.

Follow the link in to download a proven anti-malware hosts-file. It blocks sites considered harmful. You can edit it as you like, and add your own sites as shown above.

A google search for HOSTS will provide a lot of information also.

Hope this helps.


Collapse -
Great tutorial on HOSTS files
by LarryD / June 19, 2004 7:30 PM PDT
In reply to: Hosts file.
Collapse -
Content advisor.
by Kees Bakker / June 19, 2004 7:43 PM PDT

A good alternative is to use the Content Advisor feature of Internet Explorer 6.0 to block individual websites. See
for a good introduction.

Note the difference:
- Usings hosts will result in a 'page not found' error.
- Using Content Advisor will ask for a password

Also remember that your daughter can view the sites you block on any other computer, say at school or with a friend. Parental control is only limited.


Collapse -
Avoid the 'Page not found'...
by Edward ODaniel / June 20, 2004 4:38 AM PDT
In reply to: Content advisor.

rather than using a normally accepted format on the hosts file such as:

use one like (takes one to the Walt Disney Kid's site) (takes you to the same place through a redirect)

One can actually have fun with their hosts! Wink

Collapse -
How to block a website ??
by mariasimpson / June 20, 2004 11:16 PM PDT

Thank you very much for all the replies, will try all the suggestions. Maria

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions

Does BMW or Volvo do it best?

Pint-size luxury and funky style

Shopping for a new car this weekend? See how the BMW X2 stacks up against the Volvo XC40 in our side-by-side comparison.