How to set local alias for a machine?

Posted by Alex G. on Server Fault See other posts from Server Fault or by Alex G.
Published on 2012-04-08T04:22:57Z Indexed on 2012/04/08 5:32 UTC
Read the original article Hit count: 210

Filed under:
|
|

I would like to set an alias on my local PC for a network machine. I know that it can be done by adding an entry in the hosts file as long as the IP address of the machine is also specified. However, the problem is that IPs are dynamically assigned by a DHCP server so I don't know for sure the IP address. Is there a way to define just an alias based on the machine's network name?

P.S.: I'm running Windows Server 2008 R2.

© Server Fault or respective owner

Related posts about Windows

Related posts about networking