---
schema_version: "1"
id: 75402e56e51ac24da8df7132d4b964c893f8a913962b0ba6d759dd4c5ba1b64a
title: Use a Custom URL for Your Store
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_custom_url.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_custom_url.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 23627cd63291fc32c090d7cc029cfc0d2fec522af901946f54c13f04a00ea6b9
description: 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.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Use a Custom URL for Your Store

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.

### 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)

This task assumes that a Salesforce admin has already configured a custom domain that uses the Salesforce CDN, and connected the domain to a store. See [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.").

1. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/comm/images/comm_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter Custom URLs, and select **Custom URLs**.
3. Click **New Custom URL**.
4. For Domain, search for and select the custom domain.
5. For Site, search for and select your store.
6. For Path, enter the path to append to the custom domain to access your store.
7. Click **Save**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_note.png)
    
    Note The URL for your store is a combination of the custom domain name and path. For example, if your custom domain is mydomain and you enter vintagejewelry for the path, the URL to your store is www.mydomain.com/vintagejewelry.

#### See Also

- [Publication and Activation](https://help.salesforce.com/s/articleView?id=commerce.comm_publish_activate.htm&release=264.0.0&type=5 "When you’ve previewed your pages and are ready to start selling, it’s time to make your B2B Commerce store available to your customers. First, configure a custom domain and CDN. Assign the store a custom URL. Then publish the store and activate it.")
- [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.")
- [Connect a B2B Store to Your Domain](https://help.salesforce.com/s/articleView?id=commerce.comm_storedomainconnect.htm&release=264.0.0&type=5 "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.")