Jump to content

Recommended Posts

Posted

hi! :) everyone!! specially to the administrator

i just want to share this cool! tutorial on how to block a site without software installed!!?? :) origin... shareodie

Steps:

1] Browse C:\WINDOWS\system32\drivers\etc

2] Find the file named "HOSTS"

3] Open it in notepad

4] 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 localhost

127.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.com

127.0.0.4 www.blablabla.com

127.0.0.5 www.blablabla.com

hope this helps


Posted

codebox right :D

i agree in the "not adding 1"

also erm what happens when u have 500 entries

after 255 do u increase the 2nd digit? :P

like 127.0.1.0, i don't think so...

Posted

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...

Posted
if you have a web server running on your PC and you use that address you will get your website instead of nothing

if not running a webserver, would it be possible to have it pull up at webpage say from the system32 folder?

Posted

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)

Posted

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.....

Posted

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.

  • 2 weeks later...
Posted

Bloatbusters Sliencer automates this process with many known ad sites. Download.com shows page cannot be display very often where ads should be.

Posted
you don't need to add a 1 to each entry

here's mine, stops a LOT of ads

Nice to see that you also added Google Ads. Great for MSFN. Thanks for that.

Closed

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...