Change site URL for SharePoint 2016 root

I am replacing a SharePoint 2010 server with a 2016 farm. The new farm has a URL or http://newfarm. My end users have shortcuts and favorites that point to http://oldsite how can I change the url of the new farm to the one used by the old?
Erik CurtisEnterprise ArchitectAsked:
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.

Walter CurtisSharePoint AEDCommented:
If the farms will not running concurrently in production you can reuse the oldsite url in teh newfarm. In otherwords, as you provision the newfarm you can use the server names for the url(s), but when you cut over, add the oldsite url to the newfarm and redirect your DNS to the new farm.

Of course, this won't work if both farms are on line at the same time productively.

Hope that helps...
Erik CurtisEnterprise ArchitectAuthor Commented:
I have tested this. I used alternate access mappings to create an additional url. When I access the site via the new URL, the site loads but the url changes back to the new sites original url.
Walter CurtisSharePoint AEDCommented:
Sorry for the delay-

You may also need to remove any host name you have in IIS for the web app. (Test this off hours first), so in other words DNS will route to IIS and IIS will forward the request to the desired port and SharePoint and then AAM kicks in. Then the url should remain constant.

Hope that helps...

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
Walter CurtisSharePoint AEDCommented:
Information provided is accurate and correct, although it seems to have not help in this specific case.
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
Microsoft SharePoint

From novice to tech pro — start learning today.