---
schema_version: "1"
id: 66ae331c09635685eb05f70d84f0dc1b2b79d4e2998df60e8ce01b884d98bc1d
title: Add Hostnames to an eCDN Zone
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_adding_hostnames.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_adding_hostnames.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8848191e0630148493a8d1eaf5a16841d8056a01114cf22b36be95eabf37407b
description: You can configure subdomains of the same zone on the same Salesforce B2C Commerce instance, or on different instances of different realms of the same retailer.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Add Hostnames to an eCDN Zone

You can configure subdomains of the same zone on the same Salesforce B2C Commerce instance, or on different instances of different realms of the same retailer.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note You can't add or remove hostnames on a SCAPI zone. Salesforce auto-provisions the SCAPI hostname, and **Add Hostname** shows 0 hostnames available. See [SCAPI Zone Support for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_scapi_zone.htm&release=264.0.0&type=5 "A SCAPI zone is the Salesforce-managed eCDN zone that fronts Salesforce Commerce API (SCAPI) traffic. Starting with B2C Commerce 26.10, the Production instance includes a subset of eCDN security controls and analytics for this zone in Business Manager and the CDN API, with no support case required.").

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

For example, configure _www.shop.com_ on the Production instance, _test.shop.com_ on the Development instance, and _eu.shop.com_ on the Production instance of the EU realm.

To validate a hostname and cut over DNS with the CDN Zones API instead, see [CDN Zones](https://developer.salesforce.com/docs/commerce/commerce-api/guide/cdn-zones.html#validate-the-hostname-and-cut-over-dns) in the developer documentation.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note For multiple subdomains on the same base domain, consider using a single wildcard custom hostname. See [Configure Wildcard Custom Hostnames](https://help.salesforce.com/s/articleView?id=cc.b2c_add_wildcard_custom_hostname.htm&release=264.0.0&type=5 "Use a single wildcard custom hostname (for example, *.merchantsite.com) to cover multiple subdomains and reduce onboarding and management overhead in B2C Commerce eCDN via Business Manager.").

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Sites** | **Embedded CDN Settings** | **Add Hostnames**.
    
    The Additional Hostnames slider opens from the right side of the page. This slider shows the names of zones and hostnames (subdomains) that you can add to the Embedded CDN Settings page. If the list is long, search for specific zones and hostnames using the search field. If you don’t see the hostname you want, verify that it exists in the site's Aliases section under **Merchant Tools** | **site** | **SEO & Discoverability** | **Aliases**.
2. Select a hostname in the list and click **Add Hostname**.
    
    Business Manager adds the hostname to the Embedded CDN Settings page, as a child of its zone.
    
    After you add an SSL certificate and activate the hostname, complete the remaining steps.
3. Test inbound communication through the embedded CDN by resolving your custom hostname to the IP address of the embedded CDN locally (modify /etc/hosts).
    
    Example: 104.12.34.7 shop.abcd.com
    
    The CDN domain name resolves to different IP addresses over time. Using a fixed IP address is acceptable for testing purposes only.
4. In your DNS server configuration, point the DNS record of your hostname to the embedded CDN.
    
    Create a CNAME record. The value of the record appears in Business Manager.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Removing a hostname from a zone doesn't remove it from the zone's SSL certificate. To remove the hostname from the certificate, update the certificate.

**Legacy zones only: permission rules.** To prevent damage to the production experience, users on a non-Production instance can't modify subdomains configured on other instances. In addition, users can't modify certificates on a zone with at least one Production instance as origin. However, they can add hostnames to existing zones with Production instance origins. Users on Production instances can modify all CDN settings, even if another Production instance of the same retailer is impacted.