How to create a CNAME in CloudFlare

This tutorial explains how to setup a CNAME in CloudFlare that can be used with KeyCDN by completing the following steps:

  • Create a zonealias 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 grey cloud, not the orange cloud). The record in CloudFlare should look like this: cname-in-cloudflare
  • 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.