Jay Dhillon
Jay Dhillon

Reputation: 21

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

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.

Upvotes: 2

Views: 1737

Answers (2)

Alex
Alex

Reputation: 18556

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.

Upvotes: 4

Joey Cai
Joey Cai

Reputation: 20127

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.

Upvotes: 0

Related Questions