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
          Activate a Sandbox Custom Domain in Production

          Activate a Sandbox Custom Domain in Production

          After you test a custom domain that serves your Experience Cloud sites or Salesforce Sites in a sandbox, move any updates to your sites and the custom URLs for your domain to production. Then activate the custom domain in production.

          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 a domain:

          Manage Custom Domains

          OR

          View Setup and Configuration

          To edit a domain: Manage Custom Domains

          Before you activate your custom domain in production, set up a custom domain for testing in sandbox, and complete testing. Then move the Experience Cloud site and custom URLs that the sandbox custom domain serves to production. For example, move your Experience Cloud sites and the custom URLs associated with the domain via a change set.

          1. If your domain serves content from a site in your sandbox, validate that the content that the domain serves exists in production.
            Check for the Experience Cloud site or Salesforce Site, the relevant site pages and content, and the custom URLs for the domain.
          2. Validate that your DNS record points to your production org. See Point Your Custom Domain to Your Salesforce Org.
            If your custom domain points to your sandbox or another production org in DNS, point the custom domain to your production org, and test in your sandbox again.
          3. Update the custom domain in Salesforce.
            1. From Setup in production, in the Quick Find box, enter Domains, and then select Domains.
            2. For your existing custom domain, select Edit.
            3. Update the value in the Associated Org field from your sandbox to Production, and save your changes.

            After you save your changes, Salesforce provisions the domain or gets it ready for use. When the provisioning process is complete, you receive an email and the domain status changes to Awaiting Activation.

          4. To activate your domain, on the Domains Setup page, click Activate next to your custom domain.
            Your site can be unavailable for 5–10 minutes, so activate your custom domain when your site traffic is low. When your site is active, the status changes from Awaiting Activation to Completed and the Current Domain Configuration Option changes to reflect your selected domain configuration option.
           
          Loading
          Salesforce Help | Article