Configuring the Embedded CDN

Salesforce B2C Commerce comes with an embedded Content Delivery Network (CDN). The embedded CDN ensures low response times for consumers by serving content from a location close to the consumer, and helps to make your site (or sites) highly scalable. Contact Commerce Cloud Support if you want to enable the embedded CDN for your organization.

The CDN configuration is organized around zones. A zone represents a root or apex domain (for example, A hostname is a subdomain of a specific zone (for example,

Subdomains of the same zone can be configured on the same B2C Commerce instance, or on different instances of different realms of the same retailer. So, for example, it's possible to configure on the Production instance, on the Development instance, and on the Production instance of the EU realm.

The embedded CDN is active only for the Development and Production instance types. You must configure the embedded CDN for your custom hostnames (subdomains) before you can route traffic through the embedded CDN. You should also consider using Enforce HTTPS for increased security.

To configure the embedded CDN, the following steps must be performed:

Configuration step Description

Modify Your Hostname Alias Files

Modifying your hostname alias files is a configuration step that is performed for reasons that are independent of the embedded CDN. However, B2C Commerce uses the information from your hostname alias files to help you configure the embedded CDN. Specifically, B2C Commerce inspects the hostname alias files for each of your organization's Development and Production instances, collecting information about your zones (domains) and hostnames (subdomains).

Create Your Zones

After B2C Commerce collects information about your zones and hostnames, you can create zones for the purpose of configuring the embedded CDN.

Verify Your Zones

After a zone is created, it must be verified. Both steps are required before you can configure the zone and any hostnames that are subdomains of the zone (for example, the zone must be created and verified before you can add the hostname

Configure Your Zones

After a zone has been created and verified, you can configure the zone. When you configure a zone, you specify settings that apply to all hostnames within the zone, regardless of which instance is the effective host of a specific hostname (subdomain).

When you configure a zone, you specify various settings that determine how the embedded CDN keeps your sites secure, speeds up the performance of your sites, and presents customized HTML pages for certain classes of errors that it generates.

Add Hostnames (Subdomains) After you have created and verified a zone, you can add and configure hostnames (subdomains) for the zone.
Note: Only Business Manager users with access to the Embedded CDN Settings module can make CDN configuration changes. Users with the Administrator role have access by default.