---
schema_version: "1"
id: 628d7da49ffdcd58d0ec42f5824c49be2710636869b998990224d820307ed195
title: Disable or Remove Your Previous My Domain
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/domain_name_remove_previous.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.domain_name_remove_previous.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ecf7d0e361e7eb8bf73808c148a9eab123e1230e271b9d72ddfe7c9480d96e94
description: Each time that you deploy a change to your My Domain, Salesforce redirects requests from your previous My Domain URLs to your current My Domain. Optionally, disable redirections from your previous My Domain. We recommend that you use that option when you test a My Domain change. Or, to use your previous My Domain in a different Salesforce org, remove your previous My Domain.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Disable or Remove Your Previous My Domain

Each time that you deploy a change to your My Domain, Salesforce redirects requests from your previous My Domain URLs to your current My Domain. Optionally, disable redirections from your previous My Domain. We recommend that you use that option when you test a My Domain change. Or, to use your previous My Domain in a different Salesforce org, remove your previous My Domain.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and<strong> Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d141933e77">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d141933e77 ">To edit My Domain settings:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d141933e77 ">Customize Application</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d141933e77 ">To define a My Domain name:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d141933e77 ">
              <p>Customize Application</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Modify All Data</p>
            </td>

          </tr>
        </tbody>
      </table>

You can only access the options related to a previous My Domain after you deploy your new My Domain. If you change your My Domain more than one time, only the last My Domain for your org is redirected. For more information, see [My Domain Redirections](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_redirections.htm&release=264.0.0&type=5 "When you deploy a change to your My Domain, Salesforce redirects multiple host names automatically. Learn about the types of redirections, how to log redirections for the host names that Salesforce hosts for your org, and how you can control these redirections."). To review the high-level steps and recommended practices for a My Domain change, including how to reduce the impact on your users and customers, see [Plan for a My Domain Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_plan.htm&release=264.0.0&type=5 "Whether you change your My Domain to update your brand, to adopt enhanced domains, or to enable partitioned domains, the URLs that Salesforce hosts for your org change. Those changes can have a large impact, and making the required updates can seem like a daunting project. To make the process as smooth as possible for you, your users, and your customers, review the high-level steps, the recommended practices, and how to reduce the impact on your users and customers.").

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_warning.png)

Warning If you disable or remove your previous My Domain before a My Domain change is fully processed, calls to your org’s custom domains, such as https://www.example.com, can return an error. To avoid this temporary disruption, wait 24 hours after changing your My Domain before removing your previous My Domain if your custom domain uses one of these HTTPS options:

- Serve the domain with the Salesforce Content Delivery Network (CDN)
- Use a temporary non-HTTPS domain

1. 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 Redirections.
2. Under Redirections, click **Edit**.
    
    ![My Domain Redirections settings.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/setup/images/my_domain_redirections_edit.png)
3. To disable redirections from your previous My Domain, deselect **Redirect previous My Domain URLs to your current My Domain** and save your changes. Or, to enable redirections from your previous My Domain, select this option.
    
    This option determines what happens when users visit bookmarks or links that contain your previous My Domain name. For example, when a user visits `https://PreviousMyDomainName.lightning.force.com/lightning/page/home`, this option determines whether they’re redirected to `https://CurrentMyDomainName.lightning.force.com/lightning/page/home`.
    
    When you disable this option, you enforce your My Domain change. Salesforce recommends that you temporarily disable redirections from your previous My Domain to test a My Domain change or to test the effect of removing your previous My Domain.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)
    
    Note This setting has no impact on redirections for legacy (non-enhanced) host names in org created before July 2022. See [Prepare for the End of Redirections for Non-Enhanced Domains](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_redirections_non_enhanced.htm&release=264.0.0&type=5 "After enhanced domains deployment, your previous non-enhanced host names were redirected. In Winter ’25, Salesforce stopped redirections for legacy (non-enhanced) My Domain URLs in Developer Edition orgs, patch orgs, scratch orgs, Trailhead Playgrounds, and existing sandboxes. Redirections for those legacy URLs stopped in Spring ’26 in all orgs, including production orgs. If your org was created before October 2020, Salesforce also stopped redirections for host names that contained your instance name but not your My Domain. And in Winter ’27, support ends for incorrect instanced URLs in API calls. Review the affected host names and how to test for the end of these redirections.").
4. To permanently remove your previous My Domain, click **Remove Previous My Domain**, and confirm your decision.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)
    
    Note To avoid user disruption, we recommend that you test before you remove your previous My Domain. To test the effect of disabling redirections, deselect **Redirect previous My Domain URLs to your current My Domain**, and save your changes. After you complete your testing, use the **Remove Previous My Domain** option to remove your previous My Domain.
    
    After you remove your previous My Domain, 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.
    
    To avoid potential conflicts between follow-up processes, such as CNAME and DNS updates, you can’t make a change that requires provisioning for 15 minutes after you remove your previous My Domain. Changes that require provisioning include changing your My Domain name and moving to Salesforce Edge Network.

#### See Also

- [My Domain Redirections](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_redirections.htm&release=264.0.0&type=5 "When you deploy a change to your My Domain, Salesforce redirects multiple host names automatically. Learn about the types of redirections, how to log redirections for the host names that Salesforce hosts for your org, and how you can control these redirections.")
- [My Domain Considerations](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_considerations.htm&release=264.0.0&type=5 "When you deploy a change to your My Domain, it’s important to understand the impact on URLs across your Salesforce org. Review these considerations about URL changes, feature testing, and reducing the impact to your users.")
- [My Domain URL Formats](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_app_url_changes.htm&release=264.0.0&type=5 "Your My Domain name is a subdomain used in login URL and application URLs across your Salesforce org, including sites and Visualforce pages. Understand what determines your org’s URL formats and the structure of those formats.")