Go Back   PCMech Forums > Help & Discussion > Networking & Online Security

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-26-2004, 09:41 PM   #1
Member
 
DragonNOA1's Avatar
 
Join Date: Apr 2001
Location: Na Pali Haven
Posts: 2,812
Post Where's XP's HOSTS file?

Simple enough.... I can't find it in XP. Where is it normally located?
__________________
*The command line, an elegant weapon for a more civilized age*
DragonNOA1 is offline   Reply With Quote
Old 05-26-2004, 09:44 PM   #2
Member (10 bit)
 
Join Date: Jun 2003
Location: Alaska
Posts: 903
Send a message via AIM to ZeratulsAvenger
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.
ZeratulsAvenger is offline   Reply With Quote
Old 05-26-2004, 10:43 PM   #3
Member
 
DragonNOA1's Avatar
 
Join Date: Apr 2001
Location: Na Pali Haven
Posts: 2,812
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 is offline   Reply With Quote
Old 05-28-2004, 11:15 PM   #4
Member
 
DragonNOA1's Avatar
 
Join Date: Apr 2001
Location: Na Pali Haven
Posts: 2,812
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
DragonNOA1 is offline   Reply With Quote
Old 05-29-2004, 12:06 AM   #5
Member (12 bit)
 
Byte 2.0's Avatar
 
Join Date: Aug 1999
Location: Secret City (Oak Ridge, TN)
Posts: 3,271
Send a message via ICQ to Byte 2.0 Send a message via AIM to Byte 2.0 Send a message via MSN to Byte 2.0 Send a message via Yahoo to Byte 2.0
I blocking unwanted with hosts is great.
Byte 2.0 is offline   Reply With Quote
Old 05-30-2004, 07:23 AM   #6
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 36,459
No, you don't add those to hosts.sam - you add them to just plain hosts, with no extension.
glc is online now   Reply With Quote
Old 05-30-2004, 07:35 AM   #7
Member
 
DragonNOA1's Avatar
 
Join Date: Apr 2001
Location: Na Pali Haven
Posts: 2,812
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.
DragonNOA1 is offline   Reply With Quote
Old 05-30-2004, 01:25 PM   #8
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 36,459
Yep, the hosts.sam is inactive, it's just a sample hosts file.
glc is online now   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:25 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0