Create a Zone

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

Salesforce B2C Commerce examines the hostname alias files for all your Development and Production instances across all your realms. B2C Commerce then aggregates this information and derives the names of zones by inspecting the hostname entries in your alias files.

For example, if the hostname alias file for your Production instance contains an entry for www.shop.com, B2C Commerce creates the zone shop.com.

Note:

After you create a zone, you can’t delete it in the user interface. To remove a zone, contact Commerce Cloud Support.

Register a domain name with your DNS provider before you create a zone. For example, the domain www.shop.com is registered before the zone shop.com is created.

If you have an existing Cloudflare account, B2C Commerce can take ownership of your storefront hostname in the Commerce Cloud Cloudflare account. We can also maintain all other hostnames in your Cloudflare account. Contact Salesforce Customer Support to enable proxy zones. Then, create proxy zones for your hostnames in the B2C Commerce Cloudflare account. It can take up to 24 hours for B2C Commerce to create and verify a proxy zone.

  1. Select Administration > Sites > Embedded CDN Settings.
  2. Click Add Hostnames.
  3. For each hostname in the list that you want to add, click Create Zone.
    Hostnames are automatically added after the zone is created, configured and the zone status is set to verified.
  4. If you’re creating a new zone, refresh the status of the individual zone with the Refresh Status link while zone creation is in progress. To check the status of hostname validation, click Verify Configuration. This verification can take up to 24 hours.