General
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set alias Hostnames for windows?

Jagadesh
Frequent Advisor

How to set alias Hostnames for windows?

Dear All,

For a project requirement we need to set alias hostnames. How can i go about in doing the same.

I need to connect to the machine using the alias name (ie: when i type \\aliasname in run menu, i should ne able to connect to the machine)

Thanks in advance
Jagadesh
4 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: How to set alias Hostnames for windows?

Hi,

have you tried in c:\winnt\system32\drivers\etc\hosts
?

greetings,

Michael
Ganesh Babu
Honored Contributor

Re: How to set alias Hostnames for windows?

Jagadesh
Frequent Advisor

Re: How to set alias Hostnames for windows?

I tried adding an entry in
c:\winnt\system32\drivers\etc\hosts

when i ping the alias name it is pinging, but when i use the alias name from other machine to connect the same is not connecting. Iam getting the following error
"Network path was not found"

-Jagadesh


Jon Finley
Honored Contributor

Re: How to set alias Hostnames for windows?

If you're using a WINS server, you can enter static entries for the alias.

In DNS you can have multiple A records.

You can have a common lmhosts file that gets loaded at boot time through an include statement in the local lmhosts file.

http://support.microsoft.com/default.aspx?scid=kb;en-us;102725&Product=win2000

Just a few ideas. :-)

Jon
"Do or do not. There is no try!" - Yoda