Win98 SE Host files?
- HongKongPolice
- Senior Member
- Posts: 2147
- Joined: Thu Jul 08, 1999 12:00 am
- Location: I...... AM.......... CANADIAN!!!!!!!!!!!!!!!!!!!
Win98 SE Host files?
Tried editing both the lmhosts.sam and hosts.sam file and neither works. I put the IP first, a few spaces, then the related DNS name, but it always checks the ISP's DNS server first. I have DNS enabled tho, and it has to be enabled because the computer is connected to a Win98SE ICS machine.
I even tried editing the the sam files on the router computer, which has DNS disabled on the NIC connected to the cable modem, and it still checks the ISP's DNS server first.
Whats wrong?
Plz help
I even tried editing the the sam files on the router computer, which has DNS disabled on the NIC connected to the cable modem, and it still checks the ISP's DNS server first.
Whats wrong?
Plz help
Abit KR7A-Raid
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
.SAM files are only "sample" files, and are not used by windows. The actual file you want to edit is called "HOSTS" (without the quotes and without an extention). And I would suggest using a tab between the IP address and the domain name. This makes for a nice, neat looking HOSTS file.
What I would suggest doing is to edit the .SAM file, so that it contains the info that you want, then save it, but the file you save should be named "HOSTS", and saved in the same directory as the .sam file that you used as a template.
LMHOST files are used by WINS, and will have no effect on internet traffic.
What I would suggest doing is to edit the .SAM file, so that it contains the info that you want, then save it, but the file you save should be named "HOSTS", and saved in the same directory as the .sam file that you used as a template.
LMHOST files are used by WINS, and will have no effect on internet traffic.
- HongKongPolice
- Senior Member
- Posts: 2147
- Joined: Thu Jul 08, 1999 12:00 am
- Location: I...... AM.......... CANADIAN!!!!!!!!!!!!!!!!!!!
Ohhhhh ya, i forgot bout that.
I remembered that for NT4 machines, the file to edit was just "hosts", but there was no file called "hosts" in the Windows Dir in Win98, so i thought hosts.sam was it.
doh
Thanks
I remembered that for NT4 machines, the file to edit was just "hosts", but there was no file called "hosts" in the Windows Dir in Win98, so i thought hosts.sam was it.
doh
Thanks

Abit KR7A-Raid
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
- HongKongPolice
- Senior Member
- Posts: 2147
- Joined: Thu Jul 08, 1999 12:00 am
- Location: I...... AM.......... CANADIAN!!!!!!!!!!!!!!!!!!!
Crap, just renamed the hosts.sam file to just hosts and it still doesn't work. Its placed in the same spot as the hosts.sam file (D:\windows\). Got any other suggestions?
Abit KR7A-Raid
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
- HongKongPolice
- Senior Member
- Posts: 2147
- Joined: Thu Jul 08, 1999 12:00 am
- Location: I...... AM.......... CANADIAN!!!!!!!!!!!!!!!!!!!
Loading from D:\Windows, and yes it has info in it, correctly placed and spaced.
This sux
This sux

Abit KR7A-Raid
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
Double check, look for hosts and lmhosts...like they said above, not the SAM files, but the real ones without any extension.
Exactly what is it you're trying to do BTW? Why not manually configure DNS...have it query whatever DNS server you're trying to hit first....followed by the two DNS servers from your ISP.
Exactly what is it you're trying to do BTW? Why not manually configure DNS...have it query whatever DNS server you're trying to hit first....followed by the two DNS servers from your ISP.
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
- HongKongPolice
- Senior Member
- Posts: 2147
- Joined: Thu Jul 08, 1999 12:00 am
- Location: I...... AM.......... CANADIAN!!!!!!!!!!!!!!!!!!!
Originally posted by YeOldeStonecat
Double check, look for hosts and lmhosts...like they said above, not the SAM files, but the real ones without any extension.
Exactly what is it you're trying to do BTW? Why not manually configure DNS...have it query whatever DNS server you're trying to hit first....followed by the two DNS servers from your ISP.
I triple checked the files and their contents, and rebooted the machine several times. Still no go.
I'm trying to link favorite sites that I go on to short phrases. like h for hardocp.com, etc. Don't wanna waste any space on the bookmarks bar

Can any1 try it out 'n confirm that Win98 SE even supports hosts files?
Thanks
Abit KR7A-Raid
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
Palomino 1.4Ghz @ 1.57Ghz @ default voltage /w DTek Spir@l block 512MB Crucial DDR @ 300Mhz CAS222 ATi OEM Radeon8500 @ 295/275 vmem=3.5v, would of gotten GF3 if they had better filters..... 3Com 905 TX SoundBlaster Live OEM 120gig Western Digital Special Edition (8MB Cache) 20gig Fujitsu 5400rpm (gonna get another WD1200JB for Raid0 soon) LiteOn 24x burner Enermax 350watt PSU (voltage modded) Dell P1110 21" Sony FD Trinitron tube @ 1792x1344 85Hz
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
Originally posted by HongKongPolice
I triple checked the files and their contents, and rebooted the machine several times. Still no go.
I'm trying to link favorite sites that I go on to short phrases. like h for hardocp.com, etc. Don't wanna waste any space on the bookmarks bar![]()
Can any1 try it out 'n confirm that Win98 SE even supports hosts files?
Thanks
Yes Windows 95 and 98 support hosts files...else would you even have the .sam files on a fresh installation? I've used them and also lmhosts files many times.
Try installing DUN 1.4 to upgrade the TCP stack.
And again, perhaps what we're doing here isn't the answer to what your trying to do.....which begs the question again...just what ARE you trying to accomplish?
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!