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

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 09:56 AM.

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