Custom domain and Salesforce CDN for a B2B store
Key Takeaway
Connecting a B2B store to a custom domain automatically puts the store behind the Salesforce CDN. The domain name must be a subdomain such as store.example.com, not the top-level domain itself. A domain name can't be used across multiple orgs.
Every new B2B store gets a default Salesforce-provided URL for testing. The default URL includes a temporary path. Connecting the store to your own custom domain gives buyers a branded URL and automatically puts the store behind the Salesforce content delivery network (CDN), with Cloudflare as the CDN partner. Salesforce recommends this setup before you launch a B2B store built on the LWR template into live production.
Default URL and custom domain
Every new B2B store gets a default Salesforce-provided URL. The default URL includes the temporary path you entered when you created the store. The default URL is fine for testing pre-production stores during development.
For a B2B store created with the LWR template, you connect the store to a domain when you want a branded URL or a URL without my.site.com. Connecting the store to a domain automatically enables the Salesforce CDN partner, Cloudflare.
Before an LWR store goes into live production, Salesforce recommends a custom URL on a custom domain served by the Salesforce CDN.