Setting custom domain to the application endpoint (SAP Commerce Cloud CCV2)

Aswin Raghuraman
SAP Commerce Cloud
Published in
3 min readJan 13, 2024

In this document, you will understand how to configure and set a new custom domain to the application endpoints in SAP Commerce Cloud.

By default, once an environment is provisioned in SAP Commerce Cloud for eg. dev d1, the below application endpoints will be displayed under that env.

Click the Environments

Click on d1 to see the details of the env. All the public endpoints of d1 env will get listed and it will be configured with default URLs to access the applications – Back office, Storefront, Solr, Background processing, API. For brevity, let’s set a custom domain for your accstorefront application.

Before proceeding, make sure the storefront website is getting loaded with the default domain url.

Step 1: Create a new domain

You can use Azure, AWS, or a third-party provider to create a new domain URL for your storefront. Most organizations will have their domain pattern, so request a domain to your internal team.

Let's say the domain URL is, dev-sapcommerce.com.au

Step 2: Map the CNAME to the domain URL

As mentioned earlier, SAP Commerce will provide a default URL to access the application

for accstorefront, the default URL is accstorefront-c1xxxxxx-d1.public.model-t.cc.commerce.ondemand.com

Login into your domain provider portal and map your domain URL to this CNAME

dev-sapcommerce.com.au maps to accstorefront-c1xxxxxx-d1.public.model-t.cc.commerce.ondemand.com

CNAME entry should be added to the domain and then wait for a few hours to let it propagate to all the nodes across the globe

Step 3: Configure the new domain URL in the cloud portal

Click and open the endpoint to update the new domain URL

Open accstorefront endpoint and update the domain url to dev-sapcommerce.com.au as shown below

Step 4: Test the new domain URL

In your browser, key in the domain URL dev-sapcommerce.com.au, it should now load your storefront website.

Similar steps can be followed for other endpoints to set the custom domain.

Hope this article is useful and you learned something!

If you liked the document, clap and follow me for more posts :)

--

--

Aswin Raghuraman
SAP Commerce Cloud

eCommerce expert, Solution Architect and Developer. Knowledge on multiple platforms SAP commerce Cloud, BigCommerce, AEM, Celum and Azure Cloud DevOps