quicksilk Posted February 24, 2005 Posted February 24, 2005 hi! everyone!! specially to the administratori just want to share this cool! tutorial on how to block a site without software installed!!?? origin... shareodieSteps:1] Browse C:\WINDOWS\system32\drivers\etc2] Find the file named "HOSTS"3] Open it in notepad4] Under "127.0.0.1 localhost" Add 127.0.0.2 www.sitenameyouwantblocked.com , and that site will no longer be accessable.5] Done!-So-127.0.0.1 localhost127.0.0.2 www.blockedsite.com-->www.blockedsite.com is now unaccessable<--For every site after that you want to add, just add "1" to the last number in the internal ip (127.0.0.2) and then the addy like before.IE: 127.0.0.3 www.blablabla.com127.0.0.4 www.blablabla.com127.0.0.5 www.blablabla.comhope this helps
bledd Posted February 24, 2005 Posted February 24, 2005 (edited) you don't need to add a 1 to each entryhere's mine, stops a LOT of adshosts.txt Edited March 14, 2005 by xper
XtremeMaC Posted February 24, 2005 Posted February 24, 2005 codebox right i agree in the "not adding 1" also erm what happens when u have 500 entries after 255 do u increase the 2nd digit? like 127.0.1.0, i don't think so...
un4given1 Posted February 25, 2005 Posted February 25, 2005 When you request an address your computer contacts a DNS server to find it's IP.... but before accessing a DNS server it checks it's entry in the HOSTS file. If there is an entry in the HOSTS file it automatically uses the IP address there. 127.0.0.1 is the reserved IP address of your local PC. Haven't you ever seen the bumper sticker on some geeks car? "There's no place like 127.0.0.1" meaning there's no place like home Anyways, if you have a web server running on your PC and you use that address you will get your website instead of nothing...
diesel_98a Posted February 25, 2005 Posted February 25, 2005 if you have a web server running on your PC and you use that address you will get your website instead of nothingif not running a webserver, would it be possible to have it pull up at webpage say from the system32 folder?
un4given1 Posted February 25, 2005 Posted February 25, 2005 I do not believe so. You could try using "file:///c:/windows/system32/file.htm" but I am not sure if that will work..
MCT Posted February 25, 2005 Posted February 25, 2005 IMO, using the hosts file makes the internet browsing slower, cuz for each page it has 2 parse the hosts file 2 see if such a site is in there id rather use an ad blocker if needed & spyware blaster (or reg entries)
diesel_98a Posted February 25, 2005 Posted February 25, 2005 yeah i had no such luck using the file:///c:/windows/system32/file.htm, it only keeps going to the search results for the site being blocked, even when clicking on the link to the blocked site it goes to the famous: page cannot be displayed, so i know the blocking is working..........oh yeah i did change the file name on it too.....
prathapml Posted February 26, 2005 Posted February 26, 2005 The other non-firewall (or software) alternative is to use registry entries in IE's restricted sites. And doing that is a VERY bad option.The hosts blocking method is far better.
Nutso Posted March 7, 2005 Posted March 7, 2005 I just tried this but the ads are still popping up. Any ideas why?
KAndle Posted March 14, 2005 Posted March 14, 2005 Bloatbusters Sliencer automates this process with many known ad sites. Download.com shows page cannot be display very often where ads should be.
xper Posted March 14, 2005 Posted March 14, 2005 you don't need to add a 1 to each entryhere's mine, stops a LOT of adsNice to see that you also added Google Ads. Great for MSFN. Thanks for that.Closed
Recommended Posts