How to block ad host files - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 12-22-2005, 08:46 PM   #1 (permalink)
Techie Beyond Description
Osiris's Avatar
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default How to block ad host files

A hosts file (current example) tells your computer what numerical address ( is associated with what URL ( . This file is a very simple hack which takes ad server URLs and redirects them to non-existant numerical addresses.

In other words we're fooling the internet. Its pretty simple and it works. Tens of thousands of people use it everyday with no problems.

Need help? New? Curious? Then check out the FAQ.

Installation Instructions:

I recommend using the installer for Windows 95/98/ME/NT/2K/XP This automatically installs the hosts file for you. No fuss, no muss.
Download installer (updated 11-02-05)
Note: The installer does not back up your old hosts file. Remember to delete your browser's cache (Tools>Internet Options>Delete Files) to get rid of the ads you've already downloaded. Special thanks to Allen Jackson for writing the installer.

Manual Instructions:

Windows NT/2000/XP

XP users just right click here and "save as" to your c:\windows\system32\drivers\etc directory overwriting your old hosts file. You may want to backup your old hosts file. 2000 users will have to use this path: c:\winnt\system32\drivers\etc Win 95/98 users should use this path: c:\windows

Linux/Unix/Mac OSX

Remove the extension and save this to your /etc directory. Considering unix is a server-based OS with a complex permission structure you'll probably want to just append your hosts file instead of overwriting it.
OSX can use the hosts file, but copying it to /etc isn't enough.

When finished please empty out your cache and restart your browser or reboot your computer.


Osiris is offline  
Old 12-22-2005, 08:51 PM   #2 (permalink)
Wizard Techie
Join Date: Jun 2005
Posts: 3,339

FireFox has a nice plug in to do this with a few easy clicks.

<form action=\"\" method=\"get\">
<input type=\"text\" name=\"search\"> <input type=\"submit\" name=\"submit\" value=\"Search TF before you post!\"></form>
Vista Discussion | 64 Bit Discussion |Microsoft Homepage | Yo Linux | Paul Thurrott | Fire Fox | Thunder Bird | Image Shack | Photo Bucket | Put File | Anti-Spyware | MS Anti-Spyware | Trillian | Anti-Virus | On Line Virus Scan
Tyler1989 is offline  
Old 12-22-2005, 09:09 PM   #3 (permalink)
Field Engineer
SHAWN's Avatar
Join Date: Nov 2004
Location: Long Island, NY
Posts: 4,697
Send a message via AIM to SHAWN

- Interesting!
A+, Network + , HP Certified Tech and MCP

Specs: AMD Phenom II X6 1095T, Asus M477TD, 8GB GSkill Ripjaws DDR3 1600 7-8-7-24 1T, 128GB Crucial M4 SSD, ATi HD4650, W7, 27" HL272 Monitor
SHAWN is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.