I want to block many websites on my PC. I have tried to Block them from "C:\Windows\System32\Drivers\etc\hosts" but it is not working. Some days ago i re-installed OS in my system but this problem not solved.... Please Help Me...

Here is a copy of the text written in "Hosts" file.

# 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 localhost
127.0.0.1 http://www.squidoo.com
127.0.0.1 http://www.youtube.com
127.0.0.1 http://www.twitter.com

Where twitter and youtube is added by me.

Thanks In Advance

Recommended Answers

All 5 Replies

this might sound really dumb. but if you remove the www does it work?


you might also want to look at opendns.org - it may provide alot more easy to use blocking features for you and is fairly easy to configure and setup

I have heared about OpenDNS before...

What is the work of openDNS? Can you tell me?

what do you mean by the work? Open dns is free, you just point your primary and secondary dns to there servers. register with them , provide them your ip (if you are dynamic i think they have software) go from there it is fairly easy www.opendns.org

It worked... When i removed "http://www" and wrote the domain (twitter.com) only the browser was unable to open website.

Thanks a lot brother..

this might sound really dumb. but if you remove the www does it work?


you might also want to look at opendns.org - it may provide alot more easy to use blocking features for you and is fairly easy to configure and setup

glad to help mahn

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.