A B2C Commerce merchant has a middleware system (ERP connector) that polls their Staging instance for order data using OCAPI calls to staging-myrealm.demandware.net. After October 7, 2024, these calls start returning 403 Forbidden errors and no order data is syncing to the ERP.
Root cause: The middleware is calling the demandware.net hostname directly, bypassing the eCDN. Phase 4 blocked this direct access for Staging instances.
Resolution:
staging.brand.com) instead of staging-myrealm.demandware.netIf no vanity hostname exists for Staging, the developer creates a custom domain (e.g., api-staging.brand.com) and configures it as an eCDN zone before updating the middleware. https://help.salesforce.com/s/articleView?id=002628746&type=1
The B2C Commerce Demandware.net Origin Shielding programme is a multi-phase security initiative that blocks direct external access to B2C Commerce origin servers via demandware.net hostnames. By forcing all external traffic through the Salesforce eCDN (powered by Cloudflare), the programme protects B2C Commerce environments from: https://help.salesforce.com/s/articleView?id=002628746&type=1
| Phase | Enforced Date | Scope |
| Phase 1 | April 15, 2022 | All newly created Production and Development instances |
| Phase 2 | May 15, 2022 | All existing Development instances |
| Phase 3 | August 15, 2022 | All existing Production instances |
| Phase 4 | October 7, 2024 | All Staging instances |
You are affected if your Staging integrations access OCAPI or Storefront using either of these demandware.net hostname formats:
staging.xxx.demandware.netstaging-xxx.demandware.netCommon integration types that use these hostnames: middleware systems, ERP connectors, mobile apps calling OCAPI directly, point-of-sale systems, and third-party CDNs configured with a demandware.net origin.
You are not affected if your Staging integrations use:
staging.brand.com, api-staging.brand.com) routed through the eCDNBusiness Manager access via staging-realm-customer.demandware.net is also not affected — Business Manager is considered internal to the B2C Commerce ecosystem. https://help.salesforce.com/s/articleView?id=002628746&type=1
The following B2C Commerce services are not blocked by Phase 4 and can continue to use demandware.net hostnames for Staging instances: https://help.salesforce.com/s/articleView?id=002628746&type=1
| Service | Notes |
| Business Manager | Internal to B2C Commerce ecosystem — unaffected by all phases |
| Inventory Service | Allowed via demandware.net |
| Analytics Service | Allowed via demandware.net |
| Order Integration Service | Allowed via demandware.net |
| Salesforce Commerce API (SCAPI) calls | Allowed via demandware.net |
| Shopper Login (SLAS) | Allowed via demandware.net |
| WebDAV calls | Allowed via demandware.net |
/dw/monitor health check calls | Allowed via demandware.net |
| sfcc-ci tool (Developer & Staging) | Allowed via demandware.net |
| Data APIs | Allowed via demandware.net |
If your integration uses a service not in this list (most notably OCAPI Storefront and OCAPI Shop calls), it must be migrated to the vanity hostname. https://help.salesforce.com/s/articleView?id=002628746&type=1
If your Staging integrations are affected, complete the following steps to restore connectivity:
Review all services, applications, and scripts that make calls to your Staging instance. Identify any that use staging.xxx.demandware.net or staging-xxx.demandware.net formats.
Update each affected service or application to use your vanity hostname (e.g., staging.brand.com) instead of the demandware.net hostname. All vanity hostname traffic must be routed through the B2C Commerce eCDN.
If you do not have a Staging vanity hostname, create a custom domain for your Staging OCAPI calls and configure it as an eCDN zone in Business Manager → Administration → Sites → Embedded CDN Settings. Refer to Configure the Embedded CDN for setup instructions.
If any of your point-of-sale systems, mobile apps, or third-party CDN/proxy configurations use non-SNI (Server Name Indication) traffic to access the Staging eCDN, update them to use SNI.
Modern browsers and clients less than 6 years old support SNI natively. If you use Akamai as a stacked CDN, enable "Use SNI TLS Extension" in your Origin Configuration via Akamai Property Manager. https://help.salesforce.com/s/articleView?id=002628746&type=1
After migrating to the vanity hostname, verify that all Staging integrations are functioning correctly. If firewall rules are not working as expected for your configuration, open a Commerce Cloud Support case.
002628746

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.