Set up a custom hostname

This walkthrough describes how to set up a custom hostname. A custom hostname enables access to Sitecore APIs using a subdomain of your organization's domain. For example <your-custom-hostname>.example.com.

You can add a custom hostname to access Sitecore APIs using your own domain.

To set up a custom hostname, you first need to create it from the Sitecore Cloud Portal or using the Edge Platform Admin REST API and then validate it with your domain provider.

This walkthrough describes how to:

Before you begin
  • You must be an Organization Admin or Organization Owner in your Sitecore Cloud Portal organization.

  • You must have a domain name and the ability to create a TXT record with your domain host.

Create a custom hostname

Note

Currently, a custom hostname must be a subdomain such as <your-custom-hostname>.example.com. Wildcards and apex domains are not supported.

You need to create a custom hostname using either the Sitecore Cloud Portal or the Edge Platform API, then use information in the response to add records in your domain's DNS record.

The maximum number of hostnames you can create is determined by your contract. To increase this limit, please contact your Sitecore representative.

To create a custom hostname:

Add the CNAME and TXT records to your domain's DNS record

For hostname validation and domain control validation (DCV), you need to add TXT records to your domain's DNS record. You also need to add a CNAME record to associate your custom hostname with the Sitecore proxy.

The way that you add a DNS record varies, depending on your domain host.

In general, to add DNS records:

Check the status of your custom hostname

After adding the required DNS records to your domain registrar, your hostname will typically be active within 10 minutes.

To check the status of your custom hostname:

After you've added your custom hostname, you can use it to route traffic to specific Sitecore services.

Do you have some feedback for us?

If you have suggestions for improving this article,