Suppose I have a domain, foo.com where I have a series of pages like
foo.com/456 etc. I want to use the domain and provide links without a
www prefix. These pages also will have links to other pages (and each other) without the
I'm using Azure to host our site which is the same as EC2 in that the domain cannot have an A record because the server environment is virtualized. So both Microsoft and Amazon tell you to use CNAME records to point your domain to an A record they manage. In the case of Azure, my CNAME record points to a cloudapp.net record (which microsoft manages):
foo.com CNAME foo.cloudapp.net
foo.cloudapp.net is my domain I've setup on Azure.
I'm encountering all sorts of problems with various things like email delivery and various people not being able to load the site. 2 different nameserver providers and my hoster tells me that it violates the RFC to have a root domain be a CNAME entry which is why my problems are sporadic.
I'm surprised to hear this as you see so many sites these days hosted on EC2 or Azure, and do not use a
www prefix. How are these sites setup so that they can use just
Update: While I asked the question about EC2 or Azure, I'm specifically looking for info on Azure.