custom url for rackspace cloud files CDN

Strongly recommended book
Well the good news is that it is possible to have custom URL for Rackspace cloud files. If you haven’t already joined Rackspace Cloud files do so.

Join Rackspace Cloud Files

Now I assume that you already have signed into Rackspace Cloud Files and are ready to roll.

First up If you haven’t already created a containerin you Rackspace Cloud Files control panel do that. I am going to create a container called images as shown below

 

After you are done creating your container click on it. You will get some details at the bottom of your portal page as shown below

 

 

Your container have got the public URL instantly. Dont forget to Check “Publish to CDN” checkbox. Now I assume that you’ve got full access to your personal domain. In my case I am going to create a CNAME record for jaspreetchahal.org which points to my CDN public URL which is http://c4900.r0.cf1.rackcdn.com. Man! this URL looks ugly.

Now I am using my domain registrar as an example but same steps applies to you too. I logged in to my domain registrar portal and created a CNAME as shown below

 

 

 

 

 

This change usually take inbetween few minutes to 1 hour. However, it may take up to 48 hours for these changes to take effect. This time frame is estimate only and not guaranteed. I am speaking from my experiences.

 

Once every things gets settled try uploading a photo to your newly created container. I did that

Here is the ugly URL

http://c284900.r0.cf1.rackcdn.com/iRecommend.jpg

and here is a good branded URL

http://images.jaspreetchahal.org/iRecommend.jpg 

It is programatically possible to create containers and upload files. You may be interested in reading my other post on this topic.

here is the link for it

http://jaspreetchahal.org/how-to-upload-files-to-rackspace-cloud-files-using-php-api-and-get-the-public-url-for-the-uploaded-file/

If you haven’t already done that please join Rackspace using the link below

Join Rackspace Cloud Files

I hope this helps.

You may also be interested in a command line Util that I wrote to backup your Rackspace Cloud files locally to your disk

Jaspreet Chahal's Command Line Rackspace Cloud Files Backup Util

 

 

Search Terms:

Jaspreet Chahal

Self-confessed Max Payne and Howzat Cricket game addict. Big fan of Dharmendra, Keanu reeves & Lawrence "Larry" Page. I love my Wife, my son and bit of geeky stuff. I started falling in love with Blog'in last year. Writing is tending out to be fun. I write on situation I was in thus my post always travel around web development stuff. I hope you enjoy my posts.

More Posts - Website

Follow Me:
TwitterFacebookPinterestYouTube

Comments

  1. Andy, CloudBerry Lab says:

    I always enjoy learning what other people think about Rackspace Cloud Files and OpenStack and how they use them. Check out my very own tool CloudBerry Explorer that helps manage Cloud Files and OpenStack Object Storage on Windows . It is freeware.

Speak Your Mind

*

CommentLuv badge