Is it possible to have one web role hosted on Windows Azure which respond to multiple domains (to be precise 10 -> ex. www.company.com, www.company.de, www.company.co.uk … ect. ) and having both HTTP and HTTPS (SSL certificates) ?
If this is not possible, what is the alternatives to run one web role with multiple domains and having SSL on them with windows azure ?
Thanks !
Yes, now you can do it using "SSL hostheaders" with a new supported feature called SNI, available in IIS 8 (Windows Server 2012).
So, you will need to:
I'm a Microsoft Technical Evangelist and I have posted a detailed explanation and a sample "plug & play" source-code at: http://www.vic.ms/microsoft/windows-azure/multiples-ssl-certificates-on-windows-azure-cloud-services/
You can use the "Full IIS" WebRole.
http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspx
Since you want to present the same web site to all these domains, you should be OK with HTTP connections - just set each one up as a CNAME to the Azure web endpoint. I guess HTTPS is a bit trickier, but this post indicates you will need a "multi domain certificate" (see Google). I have not tried it, but presumably this certificate can be uploaded to Azure in the usual way. I have just noticed that your question appears to be a duplicate of of this one. I am also adding my answer there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With