Discussion Locked

Blocking URL's.

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I am connected to internet through cable modem and have dynamicIP. my problem is that i have a set of URL's which i want to block from my computer. If i go for any firewall software or parential control software they are limited and they have their own database for the URL's and their own category, i am unable to manually insert any URL's. That does not solve my problem. So any of you know any software through which i can block those URL's(Atleast 50 url's). SO can anyone suggest any way so that i can block these URL's.

Regards.

3 replies

by joseph moore

I take it you have a Windows box of some kind. This is easy to do. You just put entries in the HOSTS file, pointing the URLs to 127.0.0.1.
For example, to block www.yahoo.com, www.cnn.com and www.ebay.com, you would open the HOSTS file and put in the following:

127.0.0.1 www.yahoo.com
127.0.0.1 www.cnn.com
127.0.0.1 www.ebay.com

The HOSTS is in different spots, depending on your Windows OS version:
Windows NT
----------

%SystemRoot%\System32\Drivers\Etc

Windows 95
----------

C:\Windows (the folder where Windows is installed)

Windows NT and Windows 2000
---------------------------

%SystemRoot%\System32\Drivers\Etc

hope this helps

This discussion is closed to new replies.