Best Practice for CNAME Record Setup (General)
Best Practice for CNAME Record Setup (General)
In general, CNAME records for standalone accounts should be set up as follows:
Landing Page Domain = www2.domain.com
Link Branding Domain =link.domain.com
Email Sending Domain = email2.domain.com
However, in a multi-tenant environment, the following guidelines apply:
Multi-Account Websites
When the sub-accounts under a master account are all just sections of the same website (share a website domain)
examples
'https://domain.com'
'https://domain.com/subaccount1'
'https://domain.com/subaccount2'
'https://domain.com/subaccount3 '
the landing page domain and the link branding domain should be the same CNAME record
this CNAME record should be unique for each subaccount
Example
Landing Page Domain = subaccount1.domain.com
Link Branding Domain = subaccount1.domain.com
![CNAME Record Set Up](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_i88kz3.png)
Single-Account Websites
When each sub-account has a separate domain
Landing Page Domain = www2.subaccountdomain.com
Link Branding Domain = link.subaccountdomain.com
For any communities that share the same email sending domain that is even if it is not the same as the Agency Account (top level)
![Advanced Set-up](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1isgdzw.png)
Note that to view this option the user will need the View Advanced Settings options
![Advanced settings permissions](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1m5thoj.png)
When subaccounts each have a unique email sending domain (not a shared domain)
set the Email Sending Domain on the account(s)
Email Sending Domain = email2.subaccountdomain.com
![Not a shared sending domain](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1tyikqo.png)
Domain Whitelabeling (SSL)
After entering the above information in Administration > Account Settings > CNAME Record Setup, we recommend setting up SSL, which will ensure that your ActiveDEMAND landing pages and links are secure. See this article for more information: How do I set up Domain Whitelabeling (SSL) for my account?
We recommend setting up SSL before you set the CNAME records with your DNS provider, so that the endpoints do not have to be set twice.
You can see all the endpoints that need to be set with your DNS provider in <Administration <Account Settings <View Whitelabeling. Once the CNAME records have been set, the values will show as positive (the check boxes will be checked).
![View White Labeling](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_197pjaw.png)
![CNAME's all checked Green](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1ciixtm.png)
Updated on: 23/09/2022
Thank you!