NOTE: This article is written for our first generation Cloud Control Panel. A version of this article is also available for our next generation Cloud Control Panel.
What is a CNAME?
A CNAME record is way to link your Cloud Files container to a branded URL that you display instead of a CDN URL. For example, you might want to CNAME your CDN URL (http://c186397.r00.cf1.rackcdn.com) to a shorter or branded URL (images.mycompany.com).
How do I set up my CNAMEs?
You can set up your CNAME simply by managing your DNS. Within your DNS settings, request a new record. You will need to ensure that your CNAME record points to your container CDN URL and not your object CDN URL. If you are using DNS through Rackspace Cloud Sites, for example, it would look like this:

If you wish to edit or delete your CNAME, you can also do that by managing your DNS in your existing tool.
Will I be charged extra for using CNAMEs?
No.
Do CNAMEs work with SSL (or https) delivery?
At this time, CNAMEs will not work with SSL delivery. While we are investigating this opportunity, there are significant challenges with this technology.
Where do I find my CDN URL?
You can find your CDN URL by clicking on your container in the Cloud Files Control Panel or by requesting your container information via our Cloud Files API. If you are using our Control Panel, your link can be found like below.

© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

27 Comments
cnames and rackspace dns
Re:cnames and rackspace dns
CNAME for sub-folders not working
I've hosted a site in cloudfiles and enabled CDN. Now, when I set the CNAME for the container in my domain control panel, the sub-folders are not rendered, especially the image files under /images are not rendering...?
pls let me know what might be the issue..?
Re: cname access
Re: subfolders
Any update of when this will
Re: cnames with subdirectories
re: cnames with subdirectories
For further examples, see our dev guide for Cloud Files:
http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_Static_Website-dle4000.html
Where do I find my secure (i.e. https) CDN URL?
Re: CDN via SSL
There are more details in this blog post:
http://www.rackspace.com/cloud/blog/2011/03/10/rackspace-cloud-files-cdn-launches-ssl-delivery/
What about CNAME support for
Re: streaming CNAMEs
Re: streaming CNAMEs
CNAMES not working with sub directories
Who uses CDN containers without sub directories??
Get it together, man!
re: subdirectories
http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_Static_Website-dle4000.html
Trailing DOT
e.g., c999999.r9.cf9.rackcdn.com. not c999999.r9.cf9.rackcdn.com
URL got looooonger : ERROR
My DNS says there is an error:
The value and/or MX priority is/are incorrect.
So, for example, until a few weeks ago, I had an URL like this:
c14988996.r96.cf2.rackcdn.com
And now, the same URL has become this:
c771fe0e3770dd303637-f8e2ecee90cadc8d6560d9b4157a8dae.r62.cf2.rackcdn.com
The prefix goes from 9 to 53 chars & total length from 29 to 73!!
Fortunately, the "old" containers are still addressable via the old URL and CNAME, but all new containers have only this very long name.
Can you please provide a solution?
re: long URL
If it is something in their interface, you might open a support ticket letting us know who you have managing your DNS so we can investigate further and possibly work with them on a solution.
Update info about SSL
http://www.rackspace.com/blog/rackspace-cloud-files-cdn-launches-ssl-delivery/
But does this work with CNAME DNS entries? If so, you should really update the article to reflect this information instead of having to find it in the comments and the wondering which is true.
re: ssl
CDN URL Changed and is not much longer
Still, the existing CNAME records using the old URL is still working--what's going on? Should I be concerned?
re: CDN URLs
CNAMEs to work with SSL +1
re: CNAMEs with SSL
http://feedback.rackspace.com/forums/71021-product-feedback/suggestions/1870693-allow-override-change-of-the-ssl-certificate-on-cl
CDN URL
re: CDN URL
re: CDN URL
Add new comment