Azure – Hosting wildcard domains such as *.thedomain.com on Windows Azure without using redirections

azuredomaindomain-name-systemsubdomainwildcard

I have an ASP.NET MVC app which offers wildcard domains to my users to personalize their login urls.

I'd like to host this on Windows Azure. But is it possible to keep the wildcard domains?

I've already found a blog article showing how to do this with CNAME aliases, but that does not seem to work with wildcard subdomains.

Is there some other way? Preferably one that does not require a redirection for each and every request to the server?

Also, what about the root domain (mydomain.com)?

Thanks,

Adrian

Best Answer

It seems that, while DNS standard does not explicitly permit CNAME wildcard entries, it does not forbid them either. So there are actually DNS servers that offer wildcard CNAME entries. Aparently BIND does, for instance.