Creating an alias like in the hosts file without a number on a local windows PC

Hi,
I am looking to do what you would think to be a simple thing.
I want to be able to put a definition on a local PC like in a hosts file.
e.g.
server1.theserver.com      server4.anotheralias.com
A hosts file can do
192.168.9.9      johnspc.theserver.com         server4.anotheralias.com
When pinging either       johnspc.theserver.com         server4.anotheralias.com it will be pointed to 192.168.9.9
What I want to do is do it by alias partly using DNS, saying as in the example above;
server1.theserver.com      server4.anotheralias.com
so when I ping server1.theserver.com DNS will return the address for  server4.anotheralias.com
Suggestions without using DNS it must be a local solution?
Thanks Peter
LVL 4
PeterSingerAsked:
Who is Participating?
 
MSE-dwellsCommented:
... so why did you ask here if you've got a solution?

PS - I'd agree -- very inventive, nice job ... sadly, it's utterly unsupportable in the world I live/work in.
0
 
MSE-dwellsCommented:
I know of no way of creating the local equivalent of a DNS CNAME.  I believe you're out of luck on this one ... short of a completely custom solution.
0
 
PeterSingerAuthor Commented:
The correct solution to this issue is to us a free DNS service on your PC like http://www.ntcanuck.com/downloads.htm

It will allow you to add a cname on the local PC and forward any other request to the DNS in your DHCP settings.

It has a very low overhead and is simple to use.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.