Changing CMS 9+ URLs

Changing the URL of the CMS requires updates to the IIS configuration, the localhost file, and the Windows Registry.

To change the URL of the CMS:
  1. Within the Connection pane of your server's IIS Manager, navigate to the CMS instance requiring the URL change.
  2. In the Actions pane on the right side of IIS Manager, click Bindings... underneath Edit Site.

    IIS Actions Menu: Bindings...

    The Site Bindings dialog displays.
  3. Click Edit, to change the current http binding from the current CMS URL to the desired CMS URL.

    Site Bindings Dialog

  4. Update any corresponding HTTPS bindings as above.
  5. Close the Site Bindings dialog.
  6. Navigate to C:\Windows\System32\drivers\etc and open the hosts file in a text editor.
  7. Replace the existing (old) CMS URL with the new CMS URL, which was set in the IIS Site Bindings dialog.
  8. Save and close hosts.
  9. Open the Windows Registry (e.g., Right-click Start, click Run, type regedit, and then click OK).
  10. Navigate to the following entry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0.
  11. Add the new CMS URL below the old CMS URL.
    For more information about specifying host names, see Method 1: Specify host names... within this Microsoft article.
  12. After you've saved your changes, close regedit.
  13. Navigate to [path-to-cms-site-instance]/site and open the CMS web.config file in a text editor.
  14. Change the @contentStoreLocation attribute value in the <CMSContentStoreSettings> element from the old CMS URL to the new URL, which was set in the IIS Site Bindings dialog.
  15. Repeat this step with the Web.config file in the DSS_Preview folder (i.e., [path-to-cms-site-instance]/site/DSS_Preview/Web.config).
  16. Save and close these web.config files.
  17. In the IIS Manager, recycle the following pools for the CMS instance:
    • Application Pool
    • Content Store Application Pool
  18. Verify that you are able to log into the CMS with the new URL and that preview renders content as expected.