Credit Card | Per Insurance | Web Advertising | Credit Cards | Mortgages
Where's XP's HOSTS file? [Archive] - PCMech Forums

PDA

View Full Version : Where's XP's HOSTS file?


DragonNOA1
05-26-2004, 09:41 PM
Simple enough.... I can't find it in XP. Where is it normally located?

ZeratulsAvenger
05-26-2004, 09:44 PM
I did a search for hosts and found a hosts file in:

C:\WINDOWS\system32\drivers\etc

I can only assume that might be it.

DragonNOA1
05-26-2004, 10:43 PM
Hmmm, thanks, not there tho. I think b/c I have a dual boot w/ 98SE that it may be in a different place.

DragonNOA1
05-28-2004, 11:15 PM
Actually it was there b/c I'm a total doofus and missed it.

I was actually looking for it so that I could add some lines to it to block AIM's ads. If anyone elses hates AIM ads, just add these lines to the bottom of your hosts.sam file:

#AIM

127.0.0.1 ar.atwola.com
127.0.0.1 empiremovies.com
127.0.0.1 xlonhcld.xlontech.net
127.0.0.1 VTOT.proxy.aol.com
127.0.0.1 ads.web.aol.com
127.0.0.1 ads.aol.com

Byte 2.0
05-29-2004, 12:06 AM
I blocking unwanted with hosts is great.

glc
05-30-2004, 07:23 AM
No, you don't add those to hosts.sam - you add them to just plain hosts, with no extension.

DragonNOA1
05-30-2004, 07:35 AM
Right. Typo that I didn't feel like correcting. Good to know for others out there. I think I saw a hosts.sam on my 98 partition.

glc
05-30-2004, 01:25 PM
Yep, the hosts.sam is inactive, it's just a sample hosts file.