Remove Your Previous My Domain
When you rename your My Domain name or change your My Domain suffix,
Salesforce redirects requests to your previous My Domain URLs to your current My Domain. If
you don’t want these requests to be redirected, remove your previous My Domain from your
Salesforce org. Or, if you want to use your previous My Domain in a different Salesforce org,
remove it to make it available to the new org.
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To edit My Domain settings: | Customize Application |
| To define a My Domain name: | Customize Application AND Modify All Data |
You can only remove a My Domain after you rename that org’s My Domain. If you rename your
My Domain more than one time, only the last My Domain for your org is redirected. For
examples, see My Domain Considerations.
-
From Setup, in the Quick Find box, enter My Domain, and then select
My Domain.
If URLs for a previous My Domain are being redirected to your current My Domain, the previous My Domain URL is listed under Routing.
- Under Routing, click Edit.
-
Click Remove Previous My Domain, and confirm your
decision.
Requests to your previous My Domain’s URLs are no longer redirected. If your previous and current My Domain names are different, your previous My Domain name is now available for use in other orgs.