Support: 1-800-961-4454
Sales Chat
1-800-961-2888

It’s here! Cloud Files Now Supports CNAMEs for CDN Enabled Content

30

The Rackspace Cloud Files team is pleased to announce support for CNAMEs for CDN enabled content.  CNAME records are used to map your long and ugly CDN URLs (e.g. c012345.r00.s34.rackcdn.com) to something shorter, branded, and exactly what you want (e.g. product.megan.com).

Our customers have been asking us for this feature and we’re thrilled to finally offer it.   Our partnership with Akamai has once again demonstrated it’s momentum. In just the first few months of our working together, we have released:

•    CNAMES – Seamless integration of Cloud Files content into customer’s branded Web site URLs.
•    Edge Purge – Allows customers to quickly edit or delete content on the edge server
•    HTTP Compression – Simple, cost saving process allowing compressed objects to be downloaded more quickly
•    SSL Delivery - Or https, encrypts customer’s data in transit as it goes through the CDN, allowing content to remain encrypted all the way from the origin servers out to the browser
•    Container MetaData – Metadata can be attached to objects and now containers in order to categorize them and mark them with any sort of data
•    Large File Support – Allows customers to use multipart uploads so now companies can store videos, HD movies, very large backup files, etc.
•    Extended TTL– TTL or Time to Live has increased from 72 hours to 50 years!

Creating CNAMEs is easy. We’ve created a simple process where you can create CNAMEs by simply using your DNS management tool to CNAME your Cloud Files CDN URL to whatever domain name you wish (and own).

For example:

 

You can find your CDN URL by doing a post on your object via the API or looking in your control panel (see below).

 

 

For more specifics, please see our knowledge base article here. And, if you have any questions about his feature, I am happy to answer – shoot me an email at megan.wohlford@rackspace.com

About the Author

This is a post written and contributed by Megan Wohlford.


More
30 Comments

Will CNAMES work with SSL Delivery

avatar Skylar on April 27, 2011 | Reply

Unfortunately, not really. I’m not sure if it’s something on the road map or not, but CNAMEs with the certificates provided by Akamai’s servers will provide a mixed context error for alternative domains. You can still use the standard urls without mixed context errors, but they won’t be quite as pretty.

I’m not really sure how this could be implemented realistically, either. Perhaps if there was a placeholder filename for the container to hold a private certificate that was used through Akamai involving SNI which it would dynamically load. This would break IE6 and seems a bit overly complex, but *might* be feasible.

You could also do a ssl.cdn.mydomain.com (having an IP of your server) and 302 redirect to the native Akamai SSL URLs, perhaps.

avatar Teran on April 27, 2011

Great news! I can finally look at using your CDN offering now :)

avatar Steven on April 27, 2011 | Reply

FIST PUMP!

avatar Zack Gold on April 27, 2011 | Reply

Awesome. Thanks! Can I use CNAMEs and SSL?

avatar Adam on April 27, 2011 | Reply

[…] in January they have been promising us “big news” and new features. Well, Rackspace officially announced today that they now support CNAME records on Rackspace Cloud Files – one of the biggest features […]

avatar Bit Byte Bit — Rackspace Cloud Files – Cool new features (including CNAME support) on April 27, 2011 | Reply

Skylar/Adam- Unfortunately, Rackspace, like many other providers has not solved the solution of using CNAMEs on the SSL network. We will continue to look at our options there, but at this point we don’t have any plans to release that functionality.

Zack- I see your fist pump and raise you an exploding hand followed by a snap.

Steven- We can’t wait to have you on board. Let us (or me) know if you have any questions about the service.

avatar Megan Wohlford on April 27, 2011 | Reply

[…] startup adventure finally meets the light at the end of the tunnel. With the release of CNAME support for Cloud Files, Sam was able to further develop his app. From initial success to a few failures, Sam pushed […]

avatar Rackspace Cloud Computing & Hosting on April 27, 2011 | Reply

There is nothing technologically that prevents domain sharding using CNAMES so this should work fine.

avatar Bob on January 24, 2013

Is it possible to create multiple CNAMEs pointing to the same Cloud Files CDN URL?

For instance:
static01.mydomain.com
static02.mydomain.com
static03.mydomain.com
…etc all pointing to c012345.r00.s34.rackcdn.com?

This is usually done to improve page load time, since most browsers limit the number of simultaneous connections to each host to 4. This way one can use more hostnames for the URLs of assets in a page, thus increasing the number of simultaneous connections.

avatar Paul on April 27, 2011 | Reply

Awesome work guys, a long time coming!

avatar George Israel on April 27, 2011 | Reply

Awesome feature! We’re launching a new site tomorrow and the CNAMEs for cloudfiles is exactly what we needed.

avatar Rok on April 28, 2011 | Reply

CNAMES and Duke Nukem Forever. I have been waiting so long. Sweet!

avatar Björn Raupach on April 28, 2011 | Reply

Paul- Yep, as many as your DNS can handle.

avatar Megan Wohlford on April 28, 2011 | Reply

Megan: Awesome :) Really looking forward to start a project that’s most probably going to use Cloud Files, CF CDN and Cloud Servers :)

avatar Paul on April 28, 2011 | Reply

Now let me get this straight. If I had my own DNS service outside of Rackspace, couldn’t I have just done the same thing. Pointing a CNAME at the CDN URL?

Or is there something special I’m missing…

avatar James Nguyen on May 9, 2011 | Reply

Unfortunately until SSL can be served from the same URL reliably via either standard URL or CNAME we cannot use this….We do not want to have to confuse our users with what URL to use with which protocol.

avatar Donald on May 9, 2011 | Reply

[…] 3, 2009 at 5:17 pm by Shaun Ewing 1 Comment As of April 27, 2011 – Rackspace Cloud Files now supports CNAMEs. This article will be left online for historical […]

avatar Using Rackspace Cloud Files with your own domain | shaun ewing | the web site on June 7, 2011 | Reply

I’ve hosted my static website in Cloud Files and enabled CDN. Now, I would like to setup CNAME for my container for my container and render the site. The URL i got from your support is not explaining how to do that.

http://www.rackspace.com/knowledge_center/node/1792#overlay-context=

pls let me know how can i setup CNAME with my domain provider so that i can render my static site.

avatar jinishans on September 2, 2011 | Reply

Does it work it I use my own DNS server to create the CNAME record?

avatar Rajesh on September 12, 2011 | Reply

Hello,
It seems there are some question on the CNAME function still unanswered. We have a Managed Cloud account and I do not see within the portal anyway to access the CNAME function you mention. Is this feature now unavailable? Or is it only available to a non-Managed Cloud account? Seems like discussion just disappeared on it from Rackspace’s side on April 28th. Please update.
Thanks,
RH

avatar RH on October 18, 2011 | Reply

Rajesh- Yes, you should be able to set it from whatever you use as your DNS tool.

RH- Sorry for the delay. There is nothing in the control panel because we don’t require our customers to tell us before they set up their CNAMEs,they can simply manage their DNS and set up a CNAME to Files however they set up the rest of their DNS records. Does that make sense? If not, I can definitely contact you offline, just let me know.

avatar Megan Wohlford on October 18, 2011 | Reply

Hi Megan,
Thanks for the quick update. Yes this explains it for me. With other CDNs we’ve used, they had to setup a pointer on their side to handle the incoming cname. That’s good to know you don’t have to do anything. We manage our DNS (via Rackspace) over on our Intensive account side so this will be easy to implement.

Another question when you have time. Do you see ever having in the portal an ability to do an instant purge of an object and/or container? As opposed to using the API.

Thanks again!
RH

avatar RH on October 18, 2011

Since your pointing your own domain at a domain and not a IP address isn’t this causing more delay in serving content?

I could be mistake but say for example you have 2 containers 1.cdn-name.com 2.cdn-name.com and my domains are static1.example.com static2.example pointing to these domains, isn’t this causing 4 dns resolves rather than 2?

avatar Simon on November 30, 2011 | Reply

Simon- You are right that the more hops you have, the more time it takes. But in reality, we are talking about such small fractions of a second, that the experience feels the same to the end user. In addition to that, DNS also has caching. After the first request, DNS will be cached, so the lookup time will go to zero.

Let me know if you have other questions, I am happy to address them.

avatar Megan Wohlford on November 30, 2011 | Reply

great.

hackspace is the best company.

avatar Stewan P. on December 15, 2011 | Reply

In my Slicehost DNS panel when I set up the CNAME in the data field I couldn’t get this to work. Turns out I needed a trailing dot at the end of the CDN url, e.g., c999999.r9.cf9.rackcdn.com. It’s possible that some DNS setup utilities may add the dot automatically, others like Slicehost not. Hope this helps someone :-)

avatar Scollay on August 4, 2012 | Reply

For requests using the CNAME(s), can Rackspace tell us which hostname was used to access the content? More clearly, if user1 accesses www1.example.com and user2 accesses www2.example.com and both point to the same physical Rackspace host, will Rackspace log the specific CNAME’s used by user1 & user2 or will the log only show the physical hostname?

avatar David Christensen on December 18, 2012 | Reply

Hi,

Is there possible to use CNAME with Temp URL? I’m trying to delivery large files to user without download first to server (serving directly)

avatar Dario on December 28, 2012 | Reply

Hi, thanks for the writeup, just letting you know that the link to the KB article at the end is broken.

avatar Soren on June 19, 2013 | Reply

Leave a New Comment

(Required)


Racker Powered
©2014 Rackspace, US Inc.