Hosting WWW Subdomain on Rackspace Cloud Files CDN is Quite Easy. You need to resolve your root domain to an IP and add the container as CNAME. Practically we have written this kind of guide many a times. Naked domain is difficult to point towards a CDN. Although we have written about Pointing Naked Domains to CNAME, it is probably not a great idea, rather you can add an additional IP (ask Rackspace) to your existing servers, resolve the root domain and do a 301 redirection towards the www
subdomain.
Formula For Hosting WWW Subdomain on Rackspace Cloud Files CDN
The current UI has been changed, but you can read our previous guides like Hosting A HTML Website on Rackspace Cloud Files Video, Serving Full HTML Website From Rackspace Cloud Files CDN to get the practical idea.
So, practically you need to rightly configure the DNS from Rackspace Cloud DNS against your newer domain or existing domain. This is kind of example screenshot :
---
From the Cloud Files end, its very easy now, you can select option to server as static website as option. You no longer need to fight with header anymore.
Hosting WWW Subdomain on Rackspace Cloud Files CDN
We will suggest to use Jekyll or OctoPress instead of pure HTML Templates. OctoPress has lot of Plugins now, supports pretty permalinks, categories and Tags.
A SSL certificate will cost $10/year for the basic need. You can actually serve a full SSL website under few dollars per year hosting charge. Unfortunately, there is no direct way offered by Rackspace at the time of publishing this guide to host the naked domain directly.
Tagged With nginx www and subdomain , rackspace subdomain creation