---
schema_version: "1"
id: 93cf12b491f18c2ce8e2df81f371457df7058a8b2a17160cae3bfe502dbfc5f1
title: Configure a Storefront Hostname
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/customer-service-center/b2c-configuring-browse-on-behalf-of.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-configuring-browse-on-behalf-of.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9df2044c69b493d70175f5cf217ca3a8e6d16d5207f89dce0e0ddeaea4c07693
products:
  - Composable Storefront
  - Salesforce APIs
---
# Configure a Storefront Hostname

Configure a custom storefront URL that lets Customer Service Center open the storefront and 'browse on behalf of' the customer. The Storefront host name is instance-specific.

1.  Assign a unique domain (host name) for Customer Service Center. It must be different than the Business Management instance URL but must resolve to the same IP address as the Business Manager instance.

2.  Click App Launcher ![App Launcher](https://developer.salesforce.com/media/shared/appLauncher.png) and then select **Administration** > **Sites** > **Manage Sites** > **Business Manager**.

3.  To add the domain name to the allowed host names list, click the **Hostnames** tab, add the unique domain name host name allowlist, and then click **Apply**. For example, you could enter 'sitegenesis.co'.

    **note:** You also must edit the /etc/hosts file to point to this domain in Business Manager.

4.  To set the Storefront Hostname as the domain name, Click App Launcher ![App Launcher](https://developer.salesforce.com/media/shared/appLauncher.png) and then select **Merchant Tools** > **_site_** > **Site Preferences** > **Customer Service Center** and add the domain name, for example, 'sitegenesis.co', in the Storefront Hostname field.

5.  To create a host name alias for your custom URL, Click App Launcher ![App Launcher](https://developer.salesforce.com/media/shared/appLauncher.png) and then select **Merchant Tools** > **_site_** > **Site URLs** > **Aliases**.

    - A host name alias is required to create short, meaningful URLs for external search engines to index. Assign at least one host name alias that is the current host name on which the instance is running.

6.  On the Alias page, set the host name alias for the Customer Service Center site. For example, sitegenesis.co.

    - The Storefront button is enabled in Customer Service Center. When you click **Storefront**, a new tab opens with the customer as the logged-in user and doesn't log out the user from a Business Manager or Customer Service Center session.
