Billy's Blog

To post pictures and other goodies for free on the net.

My Photo
Name:
Location: Utah, United States

Born in Kapiolani Children's Medical Center, just a few blocks from Waikiki. Graduated from Kahuku High School. Rode BMX Freestyle for most of my life (more than 20 years), now my 8 year old son is ripping up the skate parks, but plans on getting drafted by the SeaHawks as a WR.

Wednesday, April 28, 2010

BlockSite

If you need to block a site permanently and your "BlockSite" program doesn't seem to catch it (some sites will re-route to get around these) there is a sold but longer process to do it. You edit the "hosts" file in your system files to route certain URLs back to your own computer. And unless you are hosting the site you are trying to block, you will never see it again!

I suggest getting Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm) because it will keep your files loaded even after you reboot your computer, this way you can find the "hosts" file again quickly.

Hit +E (opens a folder, usually your "My Computer" folder) and navigate your way to:

C:\Windows\System32\drivers\etc\hosts - Win7, but i think it is the same for XP too!

You will see a number of lines with a # in front of them, these are for commenting purposes i am guessing (anything after a # will not get read by the computer when running the "hosts" file to block the sites.) After all the lines add a few blank lines then type:

127.0.0.1 blockthis.com
127.0.0.1 blockanother.com
127.0.0.1 andanother.com

These lines tell your browser to look for XXXXXXXX.com at 127.0.0.1 and since 127.0.0.1 is your computer, and the browser will not find anything at XXXXXXXX.com.


EDIT: In order to save this file, you need to run Notepad++ "As Administrator" (right-click the icon and select "Run as administrator")

0 Comments:

Post a Comment

<< Home