Use a domain that’s hosted by a third-party service to serve your Experience Cloud
sites or Salesforce Sites. These third-party services include third-party hosts, web
application firewalls (WAFs), and non-Salesforce content delivery networks
(CDNs).
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 |
- Considerations for Custom Domains That Use a Third-Party Service or CDN
Review how IP address tracking works when a third party serves your custom domain. Understand what happens if you update your domain’s external configuration after you activate the domain in Salesforce, and clean up unnecessary Domain Name Service (DNS) records.
- Prerequisites for a Custom Domain That Uses a Third-Party Service or CDN
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.
- Set Up a Custom Domain That Uses a Third-Party Service or CDN
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.