Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Get Started with B2C Commerce
Migrate Site Traffic for B2C Commerce

Migrate Site Traffic for B2C Commerce

Configure traffic migration to move traffic over to eCDN

  1. Pre-validate the hostname if you want to. This step is required when the following conditions apply:
    • You want to avoid downtime when cutting traffic over to eCDN
    • You want to stack a third-party CDN in front of eCDN, for example, Akamai
    For each host name, submit the TXT records to your DNS provider to validate control over the domain. TXT record, host names, and targets are listed in the response of a GET certificates call for a host name that isn’t validated. See getCertificates.
    • Eample TXT validation record:
    _cf-custom-hostname.stg.mystore.com. IN TXT 3adc7a39-12d7-4baf-be1b-c5ea5295181b

    If B2C Commerce Engineering completed the eCDN configurations, they provide you the TXT validation record.

    IMPORTANT: Submit validation records as soon as possible. After the configurations are created, automated validation checks are performed up to 4 hours apart for 7 days. If you don’t complete the validation within 7 days, you can request B2C Commerce Engineering to manually restart the validation checks.

  2. To send traffic directly to eCDN, update DNS to the CNAME values. The CNAME target uses this format: commcloud.<zone_name>.
    Example CNAME record:

    stg.mystore.com. IN CNAME commcloud.stg-abcd-mystore-com.cc-ecdn.net.

    Note
    Note If you don’t pre-validate the hostname, pointing traffic directly to the eCDN serves as validation. This approach results in downtime for the period between when you update DNS and the next validation check.
  3. (Optional) Stack a third-party eCDN. This step requires a validated host name.
    Make sure that the connections to eCDN use SNI. SNI is required for eCDN configurations.
    • On Akamai, SNI support for upstream connections is disabled by default. Refer to the Akamai documentation on configuring Origin Server behavior. Enable the SNI Transport Layer Security (TLS) Extension.
    • For all other CDNs, work with the CDN provider to determine how to enable SNI to the origin if it’s not enabled by default. For guidance on suggested Business Manager settings, see Configure an External CDN or Third-Party Proxy. Use the target value from the provided CNAME as the origin server.
  4. (Optional) Delete the TXT validation records.
    Before you delete the records, confirm that the host name is validated and that traffic is flowing through eCDN.
 
Loading
Salesforce Help | Article