1
votes

Does anyone know how to add multiple domains to Azure Storage Account static website hosting?

For example, Azure only accepts one or the other www.domain.com and domain.com. Currently, one or the other domain name works fine with the DNS CNAME record but only with one.

Any suggestions will be appreciated.

2
Do you mean enabling multiple custom domains for a single storage account?Swatantra Kumar

2 Answers

3
votes

The workaround would be to map Azure CDN to your Storage Account. This also gives you HTTPS support, which is what you should want anyways. You can then map multiple custom domains to the CDN.

0
votes

How to add multiple custom domain to Azure Storage Account hosting static website?

In short, it's impossible.

Enabling multiple custom domains for a single storage account is planned for the coming year. You can vote up this feedback to promote this feature to be achieved.