PDA

View Full Version : How to setup hosts file


nagesh
June 21st 04, 02:32 AM
I have Win98 and am trying to set up the hosts file so
that a named domain such as www.myhost.com will be mapped
to an IP address such as 192.168.1.110 in my LAN. I tried
updating the hosts.sam file in c:windows folder, but no
luck.

Steve Winograd [MVP]
June 21st 04, 07:52 AM
In article >, "nagesh"
> wrote:
>I have Win98 and am trying to set up the hosts file so
>that a named domain such as www.myhost.com will be mapped
>to an IP address such as 192.168.1.110 in my LAN. I tried
>updating the hosts.sam file in c:windows folder, but no
>luck.

Edit the "hosts.sam" file, then save it as just "hosts.", without the
".sam" or ".txt".
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional - Windows Networking
http://mvp.support.microsoft.com

Steve Winograd's Networking FAQ
http://www.bcmaven.com/networking/faq.htm