Loading
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Delete a Domain

          Delete a Domain

          To stop serving a site via your custom domain, such as https://www.example.com, first delete the custom URLs for that domain. Then delete the domain in Salesforce. Or to point the domain to a different site, set up new custom URLs.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: Enterprise, Performance, and Unlimited Editions.
          Applies to: Salesforce Sites and LWR, Aura, and Visualforce sites
          User Permissions Needed
          To view custom URLs:

          Manage Custom Domains

          OR

          View Setup and Configuration

          To add, edit, and delete custom URLs:

          Manage Custom Domains

          OR

          View Setup and Configuration AND either Create and Set Up Experiences OR a Site.com Publisher license

          To view a domain:

          Manage Custom Domains

          OR

          View Setup and Configuration

          To edit or delete a domain: Manage Custom Domains

          To delete a custom domain configured with the Salesforce CDN, first ensure the following:

          • DNS entries are pointing to the correct organization.
          • The domain is using a temporary non-HTTPS domain.
          • The domain is activated.
          1. If you use a legacy site.com site, deactivate the site in Salesforce.

            If you use Experience Cloud sites or Salesforce Sites, skip this step.

          2. Delete the custom URLs for your domain.
            1. From Setup, in the Quick Find box, enter Custom URLs, and then select Custom URLs.
            2. For each custom URL associated with your domain, click Del next to the URL name, and then click OK.

            For Experience Cloud sites and Salesforce Sites, the URL is deleted immediately, and users who visit that URL no longer have access to the site.

            With legacy Site.com sites, the URL remains active until you republish or delete the site.

          3. To use the Salesforce-hosted domain for your site, or if you set up custom URLs for a different domain to serve your site, activate your site again.
            1. For Experience Cloud sites, see Activate Your Site.
            2. For Salesforce Sites, from Setup, in the Quick Find box, enter Sites, select Sites, and then click Deactivate.
            3. For legacy Site.com sites, seePublish and Manage Live Sites .
          4. Optionally, delete your domain.
            1. From Setup, in the Quick Find box, enter Domains, and then select Domains.
            2. Next to the domain name, click Del, and then click OK.

              For Experience Cloud sites and Salesforce Sites, the domain is deleted immediately, and users who visit that URL no longer have access to any site connected to that domain.

              For legacy Site.com sites unrelated to Experience Cloud sites, the domain remains active until you republish or delete the site.

              Note
              Note When you delete a domain with an unpublished legacy Site.com site attached, it also deletes any custom URLs associated with that site.
          5. Work with your DNS provider to update the DNS record for your domain. Remove pointers from the domain to Salesforce.
            For information about the initial configuration, see Point Your Custom Domain to Your Salesforce Org.
          6. Optionally, review and revert other configuration related to your domain’s configuration option.
            1. If your domain used your HTTPS certificate on Salesforce servers, remove the certificate from Salesforce. On the Certificate and Key Management Setup page, next to your certificate, click Del.
              This option is available only when no domain, identity provider, single sign-on (SSO) setting, or connected app uses the certificate.
            2. If your domain used the Salesforce CDN, see Prerequisites for the Salesforce CDN.
            3. If a third-party service or CDN served your domain, see Prerequisites for a Custom Domain That Uses a Third-Party Service or CDN.
           
          Loading
          Salesforce Help | Article