We are in the process of setting up a static custom domain website being hosted from an Azure storage account. While an Azure Storage Account can have a custom domain added to it, it doesn’t support the HTTPS protocol. Using an Azure CDN will allow both a custom domain and work with an SSL certificate providing HTTPS security for website users.
Previous steps in Setting up a custom domain website being hosted from an Azure storage account:
- Hosting a Static Website from an Azure Storage Account
- How to Add a Custom Domain to an Azure Storage Account
“A content delivery network (CDN) is a distributed network of edge servers that can efficiently deliver web content to users. CDNs store cached content on edge servers in point-of-presence (POP) locations that are close to end users, to minimize latency. A CDN profile, belonging to one Azure subscription, can have multiple CDN endpoints.”
-Microsoft Documents What is a content delivery network on Azure?
We’re using the Azure CDN endpoint we’ll create in the next step, to deliver static website assets stored in an Azure storage account. Because we will need to add HTTP Rules to the endpoint(s) in the CDN profile, we’ve chosen the Verizon Premium pricing tier. The Premium Verizon CDN is the the only one of the 4 Azure CDN products that have the Rule Engine feature:
Azure Portal > New > Marketplace > CDR > add selections, choose Premium Verizon > Create
Continuing Steps to Setting up a custom domain website being hosted from an Azure storage account: