Skip to main content

How To Configure Rackspace CDN to Host Landing Pages

Two of the biggest CDN providers in the world are Amazon and Akamai. Rackspace uses Akamai as their back end for the CDN service they offer, so they have great node coverage worldwide, meaning low ping times and latency.    I opted for Rackspace [get an account here] and made this guide to show you step by step how to upload your landing page using Cyberduck and get setup in no time.

Why host your landers on a CDN? Well here are the benefits that’ll answer that question:

You don’t have to get a server on every single continent to get low latencies
You don’t have the hassle of having to upload the same landers into multiple servers
You don’t have to pay for many servers
You run organized; get more done in less time, and can have everything in one place = great efficiency.

Part #1 – Get an account on Rackspace

#1) Click here to go to rackspace sign up form.
#2) Enter your details, and fill out the registration form.
#3) Wait for them to activate your account (they might call you up to verify)

Part #2 – Login and create a container (domain prefix where your landers will reside)

1) Login to your RackSpace account by visiting http://iamattila.com/go/rackspace/
2) Click on FILES

001

3) Click on Create Container button

002
4)

a) Fill out your desired container name, ie: landers
b) For region: Select any one that is closest to the geos you will be targeting (this really only matters to save on unnecessary bandwidth charges)
c) For type: Select Static Website
d) Click Create Container

003

Part #3 –  Upload your files, making sure you name the lander index.html

You may upload files right through the RackSpace admin panel, however there is a better, more efficient way. SMART TIP: You should use a multi-threaded FTP program called CyberDuck to upload files, this makes it very easy & fast.

NOTE: CDN can only support static landing pages, so you cannot run PHP files or anything that is dynamic.

How to upload files with CyberDUCK to Rackspace CDN

  • Download CyberDuck Here
  • Install It, and Open It
  • Click the Open Connection icon inside cyber duck
    004
  • From the drop down select Rackspace Cloud Files (US)
    005
  • Type in your username
    006
  • Grab the API key by clicking on your username on the upper-top right corner inside the RackSpace Admin Panel, and selecting Account Settings. The API key is located right there, click SHOW then select it and copy it to your clipboard.
    008009
  • Now go back to CyberDuck and where it asks for API, simply paste it in and press CONNECT
  • After you logged in, drag and drop the files into their place and wait for the upload to complete.
  • That’s it!

Part #4) Setup a CNAME alias at your registrar to the rackspace CDN address

1) Grab your rackspace CDN address for the container by clicking the FILES tab on the top menu inside RackSpace Admin panel.

Click the gear icon next to the container you created
10
From the menu select View All Links
11
2) Copy the HTTP link to your clipboard – this will be the one we will be cname-ing

12

3) Head to your domain registrar, or DNS host and setup the CNAME to point to the address you copied in step #2

*Unfortunately with this step, I cannot provide any detailed insights as all of us use different registrars & DNS services

#7) That’s it!   You are done. :)

 

 

FacebookTwitterGoogle+LinkedInReddit
  • Omri Gal

    Great post, From what I understand in the last point (3) I would still need to have another host besides Rackspace? by saying domain registrar you mean similar to godaddy? thanks!

  • Наташа

    HI, sorry for noob question:
    What for do we need this part: “Part #4) Setup a CNAME alias at your registrar to the rackspace CDN address”
    uestio As far as I understood, we just upload files to Rackspace cloud files and a get a link for this “LP”.
    What for do we need domain registrar?
    Thanks

  • Sheikh Wasim

    CNAME actually you can set from TAB called DNS

    and Setup Click on add record and select type Cname, Name : www and Url would be step 2 url
    and just save and wait for 20 min to propogate and then it will work as content url.

    Thanks

  • alvin

    Hi attila, question! when setting up the container, a rackspace representative asked me to choose Public Enable CDN instead of Static website which you recommended. I’m confused. Do I choose static website which you recommended?