DNS server, configure so a server can be known by two names?

I have a server which has a shared folder, I need to share this out, but I need to keep the server name private, what is the best way to do this, should I setup an entry in DNS with the new name and reference the IP address of the server, I tried this and setup a new host record, but when I ping the name I get no responce, the ip address is not found, do I have to setup other DNS entries to make this work?

If the dns solution works, am I correct in sayting that I will be able to ping the server by both names?

Or is there a better way to go about this?

Who is Participating?
oBdAConnect With a Mentor Commented:
If you want to keep the original server name private, an alias entry (CNAME record) won't be of much use, as a simple nslookup will reveal the real name.
You'd need to create an additional host entry (A record), as you already did. If you can resolve the name using nslookup, the machine should respond to a ping. That's not really critical or complicated so far.
The most important thing to be able to actually map a folder to this additional name is described here; without the registry changes described here, you won't be able to connect to an alias:
Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
SysExpertConnect With a Mentor Commented:
DNS is fine, but it may take time to reach all servers and desktops.

keep on trying and it should kick in. \\You need to make sure that your DNS is working OK in general, there are good tools in the WIndows resource kit.

I hope this helps !
zephyr_hex (Megan)Connect With a Mentor DeveloperCommented:
you could set up an Alias DNS record for the server.
AccessYourBiz_ComAuthor Commented:
When I setup the host record, I can ping, but when I go to reference the server by the new name \\townclerkdata I get a message "A duplicate name exists on network".

I am certain that this name is unique, but a created another name and receive the same message.

Yes, that is exactly what I was talking about. Follow the instructions in the 281308 article.
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.