HOSTS file... - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 03-29-2005, 07:22 PM   #1 (permalink)
Super Techie
Join Date: Oct 2004
Posts: 384
Default HOSTS file...


My WINDOWS/system32/etc/host file is full of simillar lines like this except the url is changed:

One was blocking google adsense and when I removed it adsense came up fine again.

Do I need all these? What programs add these? Can I remvoe any?



Mr. tech is offline  
Old 03-29-2005, 10:06 PM   #2 (permalink)
Super Techie
Join Date: Mar 2005
Posts: 259
Send a message via AIM to C.Ingram Send a message via Yahoo to C.Ingram

Hosts files are often changed like that to make sure your computer can't connect to ad web sites. Blocking AdSense is a bit much, since its actualy a good program. Advertisers that use pop ups are good candidates for the hosts file trick.

You can remove any you like, except for
Code: localhost
if present.

Christopher Ingram
Principal Consultant, Souken Group, LLC.
(856) 392 5244 -- (866) Go Souken
C.Ingram is offline  
Old 03-29-2005, 10:15 PM   #3 (permalink)
Super Techie
Join Date: Oct 2004
Posts: 384

Ok. It's just I've been visiting websites lately (e.g: and they were redirecting me to localhost. I suppose I'll jsut delete the ones I want deleted if they ever redirect me to localhost. Thanks
Mr. tech is offline  
Old 03-30-2005, 03:14 AM   #4 (permalink)
Monster Techie
Join Date: May 2004
Location: /usr/root/mn/us
Posts: 1,118

Yup, it's quite nifty. When attempting to access a website, or ping any name, your computer will check your hosts file before actually contacting a DNS server to attempt to resolve the IP.

It's quite a neat trick to block adware on your computer. I know that Spybot uses this in some prevention. I'm not sure about any other spyware scanners though.

Its a frigging Laptop, not a Labtop!!!!
bla!! 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

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 05:16 AM.

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