Environments in DXP are accessed using a set of dxcloud-URLs that are set up and verified according to platform requirements. Examples:
Before going live, you need to apply and verify the same DNS settings for the domains that you intend to use with your DXP. This includes creating an asuidrecord used by Azure, and a CDN-verify record to confirm that you own the domain.
Usually these DNS records are modified:
- CNAME. Creates an alias for a host name.
- A-record. Maps a host name to an IP address.
The following instructions show how to modify the DNS settings. You can use Microsoft DNS Manager if you host your own name servers, or the web interface of your DNS service provider. Or, contact your DNS service provider if you are unsure how to change these settings.
The following steps must be done for each domain with which your application should be associated.
Before going live
Configure your Optimizely CMS to respond to the incoming hostnames you plan to use, such as www.domain.com. Also configure some default URLs like hostname using "*" (preferred), or alternatively:
appname123.dxcloud.episerver.net appname123-slot.dxcloud.episerver.net appname123.azurewebsites.net appname123-slot.azurewebsites.net
The appname123-slot.dxcloud.episerver.net address validates the site during deployments.
To map hostnames and URLs, go to CMS > Admin > Configuration > Manage Sites.
- After you map the hostnames, inform Optimizely about which URLs you will use.
- Optimizely sends you an email containing:
- Verification information for CDN and Azure (cloudflare-verifyand asuid,these are standard TXT DNS records).
- The A-record pointer to be used later when going live.
- When done with the DNS updates, contact Optimizelyagain to finalize the verification procedure, and have your verified domains added to the production environment.
When going live
To send traffic from your custom URL to the DXP, you need to create CNAME records in your DNS, pointing to the corresponding DXP endpoint.
Update the A-record at domain.com so that it points to the IP number you received in the Optimizely email (see step 3 in the previous procedure).
Add dxcloud.episerver.net to the URL you want to target with CNAME. When this is done, the site is live. Examples:
www.DOMAIN.com IN CNAME www.DOMAIN.com.dxcloud.episerver.net www.customer.com IN CNAME www.customer.com.dxcloud.episerver.net beta.client.net IN CNAME beta.client.net.dxcloud.episerver.net prod.company.com IN CNAME prod.company.com.dxcloud.episerver.net country.charity.org IN CNAME country.charity.org.dxcloud.episerver.net
HTTPS is the secure version of HTTP, adding encryption to the communication between the browser and the editing environment. The DXP platform automatically redirects any HTTP request to HTTPS, following industry-standard best practices. You should not add any configuration to the solution for redirecting to HTTPS.
To ensure that editing environment is only accessed from approved locations, you can restrict the login to only apply to specified IP addresses on the allow list. See Restricting environment access.
You should correctly set up usage tracking parameters to ensure that the website traffic volume monitoring is correct. For websites using the Single Page Application (SPA) concept, specifically configure the page view tracking, because pages on these websites will not reload during usage. See Consumption metrics for information about configuring page view tracking for single page applications.
Updated 6 months ago