How to create a CNAME in Cloudflare
Updated on October 4, 2018
This tutorial explains how to setup a CNAME in Cloudflare that can be used with KeyCDN by completing the following steps:
- Create a Zone Alias in the KeyCDN dashboard
- If you need HTTPS, enable Custom SSL and upload the certificate.
- Login to Cloudflare and create a new CNAME. It’s important to disable the Cloudflare proxy (using the gray cloud, not the orange cloud). The record in Cloudflare should look like this:
- Verify the new DNS record with the KeyCDN DNS Check. Simply type in the new DNS record (e.g. cdn.yourdomain.com) and check if the CNAME is correct.
- You can also verify the download of a file (e.g. http://cdn.yourdomain.com/yourfile.txt) with the KeyCDN HTTP Check
That’s it! You’re now ready to use CNAMEs with Cloudflare.