Windows Azure using CNAME DNS records for multiple sites and SSL
In the past 3 weeks I seem to have had to answer this question more than any other. I’m not sure why the past few weeks should have had to have this one popping up so much but there you have it.
I thought I’d create a little “whiteboard video” to describe the process, what entries you have to make where in the service model and what modifications you have to make to your DNS if you want say the default planky.cloudapp.net site to be a little more like planky.com.
Also, if you have multiple sites hosted on your web role, how do you use host header support to give each site a more meaningful name. So that you type:
sales.planky.com or ops.planky.com
rather than the rather ugly:
planky.cloudapp.net/sales or planky.cloudapp.net/ops
Also, how do you set up SSL bindings to these sites so they bind to the correct address in Windows Azure…
Here’s the video:
Hope it works for you.
Planky – GBR-257
Comments
Anonymous
February 23, 2012
I don't see how it is possible that IIS in Azure can read the host-header when https is used. Only the webapp can decode https to http but before it enters the webapp the host header must be used to determine which webapp in the webrole. How can this work?Anonymous
April 30, 2012
Hi Jaco - the load balancer supports SSL termination & your certificate is loaded onto it when it's uploaded through the management tools. Then with some NAT when the webrole is created multiple SSL certificates can be used.Anonymous
January 17, 2013
Hi, I have a webapp (coded in php) running on Azure on something like webapp.cluodapp.net I've redirected one subdomain of my main site (hosted somewhere else) to this azure webapp (ex: webapp.mydomain.com -> webapp.cluodapp.net) Question: Using a wildcard SSL certificate on my main site (*.mydomain.com) will secure the webapp on Azure? Thanks for this post.Anonymous
February 03, 2013
Rom - yes you can use *.mydomain.com on Azure without any problems