how to get my computer not be able to access certain URLs? In any browser.
Printable View
how to get my computer not be able to access certain URLs? In any browser.
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:
Code:somedomain.com 127.0.0.1
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
C:\WINNT\system32\drivers\etc is where my hosts is...Quote:
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:
Code:somedomain.com 127.0.0.1
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.Quote:
Originally posted by JoshT
C:\WINNT\system32\drivers\etc is where my hosts is...
Thats coz you run nt/2k!Quote:
Originally posted by JoshT
C:\WINNT\system32\drivers\etc is where my hosts is...
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.Quote:
Originally posted by Beacon
Thats coz you run nt/2k!
9x's have it in your system dir.