Prerequisites for the Salesforce CDN
Before you set up a custom domain that uses the Salesforce content delivery network (CDN), complete these steps.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions. |
| Applies to: LWR, Aura, and Visualforce sites |
Improve
Performance and Scalability with Salesforce’s Content Delivery Network.Unfamiliar with terms like DNS, CAA, and CNAME? See Custom Domain Terminology.
Be sure to read the Considerations for Using a CDN for Your Experience Cloud Site.
Verify the Canonical Name (CNAME) Records for Your Domain
Before you can set up your custom domain with the Salesforce CDN, update DNS to include the required canonical name (CNAME) records for your domain and the _acme-challenge subdomain. See Point Your Custom Domain to Your Org.
Manage Certificate Authority Authorization (CAA) Records
The Salesforce CDN uses Let’s Encrypt as its certificate authority. Before you set up our CDN for your domain:
- If your domain doesn’t have a current Certification Authority Authorization (CAA) record, leave it as is.
- If your domain or the subdomain has a CAA record, add letsencrypt.org to the record.
- If your company decides to set up a CAA record in the future, add letsencrypt.org to the record to avoid disruption to your CDN.
For more information, see the Let’s Encrypt website.
Use an Existing External Domain
Salesforce uses a partner service to optimize content delivery. All information that’s sent to or returned by a domain is stored and transmitted through the CDN service.
If you have an existing domain hosted outside of Salesforce, such as www.example.com, and that domain isn’t currently registered with the Salesforce CDN partner that will serve your domain, moving to the Salesforce CDN is a two-step process. First, set up a custom domain that points to our CDN partner as a third-party CDN. Commerce LWR sites can’t use a CDN outside of Salesforce. See Use a Third-Party Service or CDN to Serve Your Custom Domain.
Then, after you activate the custom domain and your domain successfully serves content from your Experience Cloud site, change the HTTPS option for that custom domain to the Salesforce CDN.
