spoofing server name for file sharing

I have users using Solidworks that connect to a specific UNC path for their library of parts (it is simple file share).


I have to retire the server and want to move the file share to new server


This as it turns out will create a need for the users to modify refrences in their "assemblies" (projects) and will be quite time consuming as they would have to do it to each project.

Is there a way to "spoof" oldserver's name in DNS so that they would connect to the new file share using old UNC path?
Who is Participating?
Joseph DalyConnect With a Mentor Commented:
Once you copy the data over to the new server and shut down the old one you can simply make a DNS entry that maps the old server name to the new servers IP address.

This can be done by making a new A record or Cname with the old server name.
pyotrekAuthor Commented:
I think I have tried this in the past and there were some authentication issues with this.
I will give it a try tonight.
pyotrekAuthor Commented:
I tried it - I copied the data to new server, created share, created DNS record in DNS to spoof the name and I get folowing error:

\\oldserver is not accessible. You might not have permission to use this network resource. Contact the administrator to find out if you have access permissions.
Login Failure: The target account name is incorrect.

I can ping the "oldserver" name and it resolves to the "newserver" IP
, and I have no issue to access the share by \\IP_ADDRES\SOLIDLIBRARY

but can not access by \\oldserver\solidlibrary
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Joseph DalyCommented:
If the old computer account is still in active directory you will get these issues the old computer account must be removed before name resolution will work correctly
pyotrekAuthor Commented:
I have tried CNAME instead of A record and it started to work.
Did not have to remove old server from AC.

Thank you xxdcmast
Joseph DalyCommented:
Glad to hear. I believe a record would have also worked if the computer Account was deleted from ad but the finance sefinitely is safer.
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.