Loading
Get Started with B2C Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure the Embedded CDN

          Configure the Embedded CDN

          The embedded CDN (eCDN) is a geographically distributed network of proxy servers. Configuring the eCDN improves availability and performance, ultimately enhancing the ability to scale your site (or sites).

          Embedded CDN settings are specific to each instance (development, staging, and production) and are managed individually for each. Creating a proxy zone in production doesn’t automatically replicate a corresponding proxy zone in the development or staging instances.

          Site URL aliases files are instance-specific, so site URL aliases are individually managed for each instance (development, staging, and production). Because each instance has its own aliases file, these files aren't included in data replication. This prevents Site URL Management replication from overwriting URL alias settings on Production with the Staging configuration. Individually edit the site URL aliases on each instance (development, staging, production) to have the same aliases on all instances.

          Note
          Note Beginning with the 24.4 release, you can configure eCDN for staging in Business Manager.

          eCDN on On-Demand Sandboxes (ODS)

          Starting with the 26.6 release, Salesforce automatically provisions eCDN for all On-Demand Sandbox (ODS) instances. Every ODS instance receives an eCDN-fronted Default Domain hostname with no configuration required.

          • Storefront hostname format: <instance>.sbx.my.commercecloud.salesforce.com (for example, bldp-001.sbx.my.commercecloud.salesforce.com)
          • Business Manager hostname format: <instance>.dx.commercecloud.salesforce.com, proxied through the shared BM zone

          ODS eCDN uses a shared zone model: all ODS instances in a realm share one storefront zone and one Business Manager zone. web application firewall (WAF) rules, cache settings, MRT routing rules, host header overrides, and PCI policies configured on the zone apply to all instances in that realm.

          After provisioning, the Default Zone appears in Business Manager under Administration | Sites | Embedded CDN Settings. Use the Configure Zones button to manage WAF rules, MRT routing rules, cache settings, host header overrides, and PCI policies for the ODS zone.

          Important
          Important Existing ODS instances aren't retroactively migrated. Newly provisioned ODS instances receive eCDN automatically. To get eCDN on an existing instance, provision a new ODS instance.
          1. Default Domain Support for B2C Commerce
            Default Domain provides a Salesforce-managed, eCDN-enabled hostname for each instance (Development, Staging, and Production) so teams can test without manual DNS, custom domain registration, or certificate management.
          2. Configure the eCDN Hostname Alias
            A hostname alias is required to create short, meaningful URLs for external search engines to index. Assign at least one hostname alias that is the current hostname on which the instance is running.
          3. Create a Zone in B2C Commerce
            The CDN configuration is organized around zones. A zone represents a root or apex domain (for example, example.com). A hostname is a subdomain of a specific zone (for example, www.example.com).
          4. Add an SSL Certificate to an eCDN Zone and Configure DNS Mapping
            Add SSL certificates to your hostnames for Zones, and map DNS values from B2C Commerce to your DNS provider account. Add eCDN managed certificates and self-managed certificates.
          5. Update an eCDN Zone's Certificate
            When your SSL certificate expires, or you update the hostnames assigned to an SSL certificate, update the certificate in Business Manager. Update eCDN managed certificates and self-manged certificates
          6. Configure an eCDN Zone in Business Manager
            Configure SSL/TLS, certificates, security rules, performance, custom pages, request logs, and Under Attack Mode for an eCDN zone by using the Configure Zone screen in Business Manager.
          7. Add Hostnames (Subdomains)
            Subdomains of the same zone can be configured on the same Salesforce B2C Commerce instance, or on different instances of different realms of the same retailer.
          8. Migrating Proxy Zones
            USe B2C Commerce Business Manager or the CDN-API to migrate legacy proxy zones. Migrating these zones give you the latest security features, and prevents common hierarchy assignment issues.
          9. Configure a Page Shield Policy for the eCDN
            Set up a Page Shield policy to make sure only trusted scripts run on sensitive store pages like cart and checkout. A Page Shield policy helps your store comply with the Payment Card Industry Data Security Standard (PCI DSS) 4.0 client-side security requirements.
          10. Create a Custom Firewall Rule for an eCDN Zone
            Configure a custom firewall rule to control incoming traffic based on specified request parameters.
          11. Configure a Host Header Override Rule for an eCDN Zone
            To support a single hostname across multiple realms, create a Host Header Override Rule for sites that use an external content delivery network (CDN). This rule replaces unique hostnames with a common hostname to maintain the single-hostname setup. If you reuse a hostname, traffic can be unintentionally served from a different realm.
          12. Create a Rate Limiting Rule for an eCDN Zone
            Configure a rate limiting rule to specify rate limits for requests that match a particular expression and then perform an action when requests reach those rate limits. Rate limiting rules improve storefront availability, target specific traffic patterns and combat threats, such as bots.
          13. Analyze HTTP and Security Traffic for an eCDN Zone
            To get insights into HTTP traffic and security data, use the eCDN Analytics tab in Business Manager. The Analytics tab shows the Traffic Analysis timeline chart, top traffic statistics across multiple dimensions, and per-rule activity. Switch between HTTP and Security views to see request traffic or firewall events for the same zone and time range.
          14. Storefront Fast Setup – eCDN Step
            The Storefront Next Fast Setup workflow in Business Manager automatically provisions an eCDN Default Domain zone as part of storefront creation via the SetupEcdnForStorefront job step.
           
          Loading
          Salesforce Help | Article