Route My Domain Through Salesforce Edge Network
Route your My Domain through Salesforce Edge Network to improve security and user experience. Salesforce Edge Network is required to ensure a consistent experience for your users regardless of their location.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To edit My Domain settings: | Customize Application |
Curious about how Salesforce Edge Network works? See Salesforce Edge Network.
Salesforce requires you to route your My Domain URLs through Salesforce Edge Network. This routing applies to most provisioned and deployed domains for your org. See Considerations for Salesforce Edge Network to review routing exceptions.
Prerequisites
- Include the Salesforce IP address ranges for all regions in your allowlists. See IP Addresses and Domains to Allow and Hyperforce IPs to Allow - Sales, Service, Industries, and Tableau Clouds.
- If you pin certificates, pin the intermediate certificate because Salesforce Edge Network uses data center-specific certificates. For more information, see Certificates in Salesforce.
- To turn on global caching on a Visualforce page with Salesforce Edge Network in a Hyperforce org, use the apex:page cache attribute.
- Coordinate with your third-party service or CDN to update the target host name for your domain immediately after you move to Salesforce Edge Network. This update is required if a third-party service or CDN serves your Digital Experiences or Salesforce sites on a custom domain. Otherwise, your custom domain stops working. Verify the correct host name in Prerequisites for a Custom Domain That Uses a Third-Party Service or CDN.
Enable Salesforce Edge Network
- From Setup, find and select My Domain.
- Under Routing and Policies, select Edit.
-
Select Use Salesforce Edge Network, and save your
changes.
Note After enablement, you have a 7-calendar-day rollback window if you encounter unexpected issues. After that window, log a case with Salesforce Support to discuss your options.
Select a Routing Method
Under Routing and Policies, click Edit, and then select a routing method. Each routing method handles sandbox environments and custom domains differently. See Considerations for Salesforce Edge Network.
- Global Routing - Direct requests to the Salesforce Edge Network location closest to the user. Select this option for the best performance and security. This option is the default.
- Regional Routing - Directs requests to Salesforce Edge Network locations only within
the region where your org is located. For example, if your Salesforce instance is in
Japan, all requests route through Salesforce Edge Network locations in Japan. When
enabled, Regional routing applies to all My Domain hostnames for your org and all custom
domains that use Salesforce Cloud.
Important Although regional routing can help you meet data residency and regulatory requirements, this routing method can impact performance and disaster recovery. - Global Selective routing (GSR) - Bypass specific network locations in the Middle East where your users face connectivity issues due to firewall blockages when accessing your Salesforce sites or Experience Cloud sites. Use this routing method to redirect traffic to the nearest reliable network node.
