Pointing Your Domain to DXP Cloud Service
To add a custom domain to a DXP Cloud service you must point your domain to its DNS servers. To do this, you have to use a Domain Management Tool (DMT). First, go to your domain provider configuration and add the servers addresses to the Master and Slave entries. These addresses are provided by the DMT you've chosen.
Once you are pointing your domain to a DMT, add a CNAME entry to each domain or subdomain you want to add. Here is an example of using Cloudflare as a DMT to point your domain to the DXP Cloud DNS servers.
Adding Your Domain to Your Service
Once you have pointed your domain to a DXP Cloud DNS servers, you are able to add your domain to your service. There are two ways to add your domain to a service- via the Web Console or the wedeploy.json.
Adding via Web Console
Go to your environment page, select the service you want to add your custom domain to, click on Custom Domains tab, and add your domains there.
You can check if your certificate was properly created by going to the Activities page.
Adding via wedeploy.json
You can also add your custom domain via wedeploy.json through the customDomains property.
{ "id": "liferay", "customDomains": ["example.com", "www.example.com"] }