DNS alias -- Windows Server 2012 R2 ?

How can I create an alias so
automatically forwards to
since servername2 replaced servername1 ?

Maybe do the below ?
  ** http://www.tomshardware.com/faq/id-1954340/creating-alias-dns-host-record-windows-server-2012.html
  ** https://technet.microsoft.com/en-us/library/cc772053.aspx
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DNS alias work if you do this from the beginning, or if you remove one server by another...
You can add a DNS alias myfiles pointing to server1
You create a share on server1, let say \\server1\share
Now you can access the share by \\myfiles\share

If you later replace server by server2, you create the same share name on server2 and change the DNS alias...
you remove the DNS alias myfiles pointing to server1
you add DNS alias myfiles pointing to server2

Tis way the client doesn't recognize, that the share switched from one server to another.

If you haven't used an alias before, you can do the following, if server1 is removed after the action.
Create the same share on server2, copy the files....
Remove server1, also delete the server1 A-Record from DNS
Add a alias name server1 pointing to server2 into DNS.

As two names can not point to different targets in DNS, you have to live for a short outage until server1 is away... Otherwise server1 will register itself again with an A-Record.

The better choice at all is to use alias names for all services you publish to cliens, this makes a replacement much easier.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.