Changing the URL of an On-Premise SharePoint 2019 Site

After migrating data through ShareGate, we needed to change the temporary URL for all sites back to their original. For example, https://sp.domain.com is migrated as https://new-sp.domain.com. We’ll needed to change it back to production URL after migrating from 2010 to SharePoint 2019. Here is the process for doing so:

  • Open SharePoint Central Administration
  • Under Central Administration, go to System Settings – Configure alternate access mappings
  • Click on the domain that you wish to change (ex. https://new-sp.domain.com)
  • Change the URL to the desired new URL (ex. https://new-sp.domain.com >> https://sp.domain.com) and leave the Zone set to Default
  • Click the OK button to accept the change.
  • Open IIS on your new SharePoint server, select the site that you’re changing the URL for and click the Bindings button on the right side.
  • Highlight the binding you wish to change and click the Edit button. 
  • Change the URL to match the one that you set in SharePoint’s alternate access settings and then click the OK button. You’ll have to change both the HTTP and HTTPS bindings if you have them.
  • Back in the IIS home window, right click on your site and then Manage Website >> Restart
  • Your new URL should now be live.