---
schema_version: "1"
id: 3aef43b44b86c4e1e5aee9e598fcf86865eb119357472b98072499106ae865d3
title: Connect a B2B Store to Your Domain
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_storedomainconnect.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_storedomainconnect.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4cac24ff37325270b64e1154108e467ce7e97efba369265dd83afb4b26193c9b
description: Redirect shoppers to your Commerce store when they enter your domain URL. When you connect your store to a domain, your store has access to the Salesforce content delivery network (CDN), with Cloudflare as the CDN partner. If you don’t yet have a domain, you can choose one from the sample registrars or any other trusted registrar.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Connect a B2B Store to Your Domain

Redirect shoppers to your Commerce store when they enter your domain URL. When you connect your store to a domain, your store has access to the Salesforce content delivery network (CDN), with Cloudflare as the CDN partner. If you don’t yet have a domain, you can choose one from the sample registrars or any other trusted registrar.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

1. From your store, go to **Settings** | **Domains**.
2. If you don’t own a domain, you can set up one now by using one of the suggested registrars or any other trusted registrar. Under Don’t Own a Domain Yet, click **Get Started**. After you register your domain, you can verify it.
3. Under Connect Your Store to a Custom Domain, click **Get Started**.
4. Enter the domain URL, and click **Verify Domain**.
    
    The system analyzes the domain status and guides you to link your domain to your store.
5. Link your domain to your store.
    1. From the store Settings, copy the host name and record values for your domain and TLS Certificate.
    2. Sign in to your domain registrar, and locate your DNS records.
    3. Paste the values that you copied from your store into the DNS records.
    4. Return to your store’s domain settings, and select **I've updated my DNS records**
    5. Click **Next**.
6. (Optional) Under Create a Custom Path for Your Domain, enter a unique path. You can also create a custom path later from the Setup page.
    
    To reuse the same domain for multiple stores, you can set up a unique path for the domain, such as “shoes.”
7. Click **Connect**.
    
    It can take up to 2-24 hours for your store to be connected to your domain. You’re notified after the connection is complete. After your store and domain are connected, when you enter your custom domain in a browser, you’re redirected to your store.

#### See Also

- [Configure a Custom Domain and CDN](https://help.salesforce.com/s/articleView?id=commerce.comm_configure_cdn_and_custom_domains.htm&release=264.0.0&type=5 "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.")
- [Use a Custom URL for Your Store](https://help.salesforce.com/s/articleView?id=commerce.comm_custom_url.htm&release=264.0.0&type=5 "The default URL for a Commerce store includes a temporary path you specified when creating the store. The default URL is suitable for testing pre-production stores during development. However, before you launch a B2B store created with an LWR template into live production, we recommend that you configure a custom URL for the store. Associate the custom URL with a custom domain served by the Salesforce CDN, with Cloudflare as the CDN partner. For B2B stores created with an Aura template, a custom URL is optional. However, we recommend using a custom domain and corresponding CDN if broad access and high security are required.")
- [Connecting a B2B Store to a Third-Party Domain](https://help.salesforce.com/s/articleView?id=commerce.comm_explain_storedomainconnection.htm&release=264.0.0&type=5 "If you’re using a third-party provider to manage your domain, you can connect your Salesforce store to the domain. When shoppers enter the domain URL, they are redirected to your store. By connecting your store, you can still use the third-party provider to manage and renew your domain. When you connect your store and domain, Salesforce sets up a content delivery network with Cloudflare.")