---
schema_version: "1"
id: cd192e5af828a6e12a26b8840d3b09358304cfe18b558dfe9f87b1815b98e365
title: Custom Domains
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/domain_mgmt.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.domain_mgmt.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 998ed259c9be7b6c6c3c8bdde10d20916698198d0f6645cf5c070d41bcfd33c0
description: Provide a branded experience for users who access your external-facing Salesforce content by serving your Digital Experiences or Salesforce Sites on a domain that you own, such as https://www.example.com.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Custom Domains

Provide a branded experience for users who access your external-facing Salesforce content by serving your Digital Experiences or Salesforce Sites on a domain that you own, such as https://www.example.com.

### 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>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Applies to: Salesforce Sites and <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;language=en_US" target="_blank">LWR, Aura, and Visualforce sites</a></td></tr></tbody></table>

![Custom Domains](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/main-banner-lm-custom-domains.png)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:33.33333333333333%">
        <col style="width:33.33333333333333%">
        <col style="width:33.33333333333333%">
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_start.png" alt="Start icon"></div>
            <p>
              <strong>Learn About Custom Domains</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_overview.htm&amp;release=264.0.0&amp;type=5" title="When you serve your Digital Experiences or Salesforce Sites on a domain that you own, your brand can shine. Learn about domains and custom URLs in Salesforce, and understand the relationship between them.">Custom Domains in Salesforce</a>
            </p>
            <p style="margin-bottom:0;">
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_domain_config_options.htm&amp;release=264.0.0&amp;type=5" title="Salesforce supports three HTTPS options to serve your domain. Whether you serve content for your domain via an HTTPS certificate that you own, through the Salesforce content delivery network (CDN), or through an external service, we require that you use HTTPS. When initial configuration requires that your domain is available before you enable HTTPS, Salesforce also supports a temporary non-HTTPS option.">Options to Serve a Custom Domain</a>
            </p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_integrate_2.png" alt="Prerequisites icon"></div>
            <p>
              <strong>Get Ready</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_determine_configuration.htm&amp;release=264.0.0&amp;type=5" title="To determine the recommended domain configuration option to serve your custom domain, answer a few questions about your domain and your Salesforce configuration.">Determine How to Serve Your Custom Domain</a>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_prereqs.htm&amp;release=264.0.0&amp;type=5" title="Before you serve your site content with a custom domain, register a domain. To get that domain ready to serve your site content, update the Domain Name System (DNS) record to point to your org. Review your site URLs for potential conflicts, and complete the prerequisites for your chosen domain configuration option.">Custom Domain Prerequisites</a>
            </p>
            <p style="margin-bottom:0;">
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_update_dns.htm&amp;release=264.0.0&amp;type=5" title="Before you add a domain in Salesforce, point your domain to your Salesforce org in Domain Name Service (DNS). If your custom domain uses your HTTPS Certificate or the Salesforce content delivery network (CDN) partner, add a canonical domain name (CNAME) record for your fully qualified domain (FQDN) to DNS. The CNAME record references your Salesforce org ID and your FQDN. Then, if you plan to use the Salesforce CDN to serve your Experience Cloud site on your custom domain, add a second CNAME record that our CDN partner requires.">Point Your Custom Domain to Your Salesforce Org</a>
            </p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_develop_1.png" alt="Prerequisites icon"></div>
            <p>
              <strong>Complete Option-Specific Prerequisites</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_cert_prereqs.htm&amp;release=264.0.0&amp;type=5" title="Before you serve your domain with an HTTPS certificate that you own, confirm that this domain configuration option applies to your configuration. Then update your DNS configuration, and upload your HTTPS certificate.">Prerequisites for a Custom Domain That Uses Your HTTPS Certificate</a>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.community_builder_cdn_prerequisites.htm&amp;release=264.0.0&amp;type=5" title="Before you set up a custom domain that uses the Salesforce content delivery network (CDN), complete these steps.">Prerequisites for the Salesforce CDN</a>
            </p>
            <p style="margin-bottom:0;">
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_enable_https.htm&amp;release=264.0.0&amp;type=5" title="If a non-Salesforce service or content delivery network (CDN) serves your domain, complete these steps before you add your domain in Salesforce. To confirm your domain ownership, update your domain’s Domain Name Service (DNS) configuration. Then work with the third-party provider to ensure access to the required HTTP protocols, configure caching and request handling, and review reverse proxy restrictions. If you’re using a third-party CDN, update the header in your CDN to track IP addresses.">Prerequisites for a Custom Domain That Uses a Third-Party Service or CDN</a>
            </p>
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_build_1.png" alt="Publish icon"></div>
            <p>
              <strong>Set Up Your Domain</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_sandbox_custom_domains.htm&amp;release=264.0.0&amp;type=5" title="Develop and test your custom domains that serve content from your Experience Cloud sites and Salesforce Sites in a sandbox before you activate the domain in production.">Test Your Custom Domains in a Sandbox</a>
            </p>
            <p>Set up a custom domain that uses:</p>
            <ul>
              <li>
                <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_cert_setup.htm&amp;release=264.0.0&amp;type=5" title="Upload an HTTPS certificate that you own to Salesforce servers, then serve your custom domain with that certificate. After you set up your domain in Salesforce, that domain can serve your Experience Cloud sites or Salesforce Sites.">Your HTTPS
                  certificate</a>
              </li>

              <li>
                <a href="https://help.salesforce.com/s/articleView?id=platform.community_builder_cdn.htm&amp;release=264.0.0&amp;type=5" title="You can set up the Salesforce content delivery network (CDN) for your custom domain in Experience Builder, Salesforce Tabs, and Visualforce sites. Within each production environment, you can define multiple domains in a sandbox, but only one custom domain associated with a sandbox org can use the Salesforce CDN.">The Salesforce CDN</a>
              </li>

              <li>
                <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_external_host_setup.htm&amp;release=264.0.0&amp;type=5" title="Add a domain in Salesforce that’s hosted by a non-Salesforce service or content delivery network (CDN). After you set up your domain in Salesforce, that domain can serve your Experience Cloud sites or Salesforce Sites.">A third-party
                  service or CDN</a>
              </li>

              <li>
                <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_temp_domain.htm&amp;release=264.0.0&amp;type=5" title="Salesforce requires that you serve your custom domain via HTTPS. However, some configuration steps can require a temporary non-HTTPS configuration. If your HTTPS certificate isn’t ready to be uploaded to Salesforce, you can use a temporary domain to start configuring your custom URLs. Also, when your domain serves other content, or when you want to move a custom domain to a new production org, you can use a temporary domain to minimize disruption to your domain.">A temporary
                  non-HTTPS domain</a>
              </li>

            </ul>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_share_2.png" alt="Share icon"></div>
            <p>
              <strong>Serve Your Sites on Your Domain</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.custom_url_add.htm&amp;release=264.0.0&amp;type=5" title="To specify the site to load when users access your custom domain, add a custom URL. Optionally, you can define additional relationships between your domains and sites by mapping paths for your domain to your sites.">Add a Custom URL</a>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_redirect_system_managed_urls.htm&amp;release=264.0.0&amp;type=5" title="To reinforce your brand, redirect users that visit a system-managed .my.site.com or .my.salesforce-sites.com URL to the custom domain that serves that site’s content.">Redirect System-Managed Site URLs to Your Custom Domain</a>
            </p>
            <p style="margin-bottom:0;">
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_build_example.htm&amp;release=264.0.0&amp;type=5" title="Domains and sites can have a many-to-many relationship through custom URLs. See this relationship in action with an example where three custom domains serve one parent site with two different brands.">Custom Domain Build Example</a>
            </p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <div><img src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/resources-global/_corporate/images/learning_maps/lm_optimize_end_2.png" alt="Maintain icon"></div>
            <p>
              <strong>Maintain Your Custom Domain</strong>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_cert_update.htm&amp;release=264.0.0&amp;type=5" title="If you serve your domain with your HTTPS certificate on Salesforce servers, avoid disruption to your domain by renewing or replacing your certificate before it expires. You can find the expiration date for your HTTPS certificates on the Certificate and Key Management Setup page. Also, admins receive an expiring certificate notification email before the certificate expires.">Update an Expiring Certificate for Your Custom Domain</a>
            </p>
            <p>
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_dom_detail.htm&amp;release=264.0.0&amp;type=5" title="Keep your custom domain up to date with your business needs. Learn how to manage your domain during org migrations and certificate changes. Edit your domain’s configuration option, move to a different domain name, or enable HSTS preloading. And when you no longer need a custom domain, delete the domain and its custom URLs in Salesforce.">Custom Domain Management</a>
            </p>
            <p style="margin-bottom:0;">
              <a href="https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_troubleshoot.htm&amp;release=264.0.0&amp;type=5" title="Review the potential causes and troubleshooting steps for common issues that you can encounter when you set up a custom domain.">Troubleshoot Common Custom Domain Issues</a>
            </p>
          </td>

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

#### See Also

- [Experience Cloud](https://help.salesforce.com/s/articleView?id=experience.networks_overview.htm&type=5&language=en_US)