For B2B stores created with the LWR template, if you prefer a branded URL or a URL
without my.site.com, connect your store to a domain. Connecting the store to a domain
automatically enables the Salesforce content delivery network (CDN) partner. You can use a
single custom domain for multiple Commerce stores. A Salesforce admin typically configures the
custom domain.
Required Editions
Which
Salesforce Commerce Product Do I Have?
To serve your custom domain with the Salesforce CDN, your
domain name must be a subdomain of a top-level domain. For example, if your top-level domain
is example.com, your subdomain is something like store.example.com. Your top-level domain is
registered and hosted externally from Salesforce. You can’t use the same domain name across
multiple organizations. If you delete a domain name from one organization and plan on
reusing it in another, wait at least 48 hours between deleting the domain name and adding it
back in. Avoid making changes to your domain options before the previous changes have been
fully processed. Processing typically takes 2-3 days.
If you choose to use the system-managed .my.site.com URL provided by Salesforce, you can upload
files up to 128MB in size per file. If you create a custom domain, you can upload files up
to 500MB in size per file.
-
Review the considerations for the Salesforce CDN
partner.
-
Complete the prerequistes for a custom domain and the prerequistes for the Salesforce CDN.
-
Set up a custom domain that uses the Salesforce
CDN partner.
During setup, select the Serve the domain with the Salesforce Content
Delivery Network (CDN) option, and select the Use the Cloudflare®
CDN to serve this domain checkbox.