PDA

Click to See Complete Forum and Search --> : domain stopper


sail3005
May 28th, 2002, 01:13 PM
how to get my computer not be able to access certain URLs? In any browser.

filburt1
May 28th, 2002, 01:30 PM
Edit the "hosts" file in c:\windows or c:\winnt (create it if it doesn't exist, note that it has no extension). Add this line:

somedomain.com 127.0.0.1

msimmons
May 28th, 2002, 01:32 PM
What OS (not sure if this is for NT4.0 only or not but what I do is edit my 'Hosts' file. Just do a find for Hosts, open it in your text editor and add a line to it like so:
127.0.0.1 ads.x10.com
now anytime you try to access that address you get page cannot be found.
Michael

JoshT
May 28th, 2002, 01:54 PM
Originally posted by filburt1
Edit the "hosts" file in c:\windows or c:\winnt (create it if it doesn't exist, note that it has no extension). Add this line:

somedomain.com 127.0.0.1


C:\WINNT\system32\drivers\etc is where my hosts is...

MidgetsBro
May 28th, 2002, 06:39 PM
Originally posted by JoshT


C:\WINNT\system32\drivers\etc is where my hosts is...

Mine too.... well C:\WINDOWS\system32\drivers\etc... I upgraded from windows 98 because I don't have the full version of 2K, just the upgrade and I didn't want to take up extra space having dual boot with Win98 and 2K.

Beacon
May 28th, 2002, 08:30 PM
Originally posted by JoshT


C:\WINNT\system32\drivers\etc is where my hosts is...

Thats coz you run nt/2k!

9x's have it in your system dir.

JoshT
May 29th, 2002, 07:23 AM
Originally posted by Beacon


Thats coz you run nt/2k!

9x's have it in your system dir.

It's not even in a /etc folder? I though /etc/hosts was the original BSD location of the file, with MS's TCP/IP implementation being similar to BSD's.