Why I can't add the assigned CNAME to my DNS provider?
If the domain you're adding to the mlytics platform happens to be an APEX (root) domain (e.g. yourdomain.com), then it is possible that your DNS provider does not support APEX (root) domain CNAME. This is a common issue in the DNS industry due to the unregulated protocol/standard.
Here is a list of common DNS providers that currently do not support APEX CNAME (or ALIAS, ANAME):
|Alibaba Cloud DNS|
|AWS Route 53|
|Google Cloud DNS|
If adding an APEX domain is your only option, then the best solution is to switch DNS provider. Here is a list of common DNS providers that support APEX CNAME (or ALIAS, ANAME):
|DNS provider||Supported APEX record type|
If you're using Cloudflare as your DNS provider, there may be an issue when activating Cloudflare CDN via mlytics
Can't switch DNS provider?
A workaround to this is to use a triple-W domain (e.g. www.example.com instead of root domain example.com) as your main domain. Here's how:
- Remove the domain you added to the mlytics platform (if you already added one; skip if you haven't yet)
- Access to your DNS and create a triple-W subdomain you'd like to use (e.g. www.example.com)
- Add a new site on mlytics with the new triple-w subdomain
- Copy the new assigned CNAME
- Go back to your DNS record, create a new CNAME record with the triple-w subdomain, paste the CNAME in the value
- If you already have a CNAME associated with the triple-w subdomain, simply replace the value with the assigned CNAME
You will need to set up a 301 redirect for your root domain towards the new triple-w subdomain in order for it to function.