Project Work Hours
Sat & Sun 6am - 9am
Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

This article covers using Azure Storage static website that is in preview to host a static webpage and creating custom domain on storage account for that webpage.  The custom domain used in this scenario is managed by Azure DNS.

http://azstoretest.azureiaas.icu/

storage

 

Azure Storage now offers static website hosting (Preview), enabling you to deploy cost-effective and scalable modern web applications on Azure. On a static website, webpages contain static content and JavaScript or other client-side code. You can  configure a custom domain for accessing blob data in your Azure storage account and use the web endpoint generated as a part of the static websites feature (preview). You can also you map a custom domain and subdomain like www.contoso.com to the blob or web endpoint for your storage account, your users can then access blob data in your storage account using that domain.

 

Video:

Steps in the above video covers;

  • Enable Static Website on Storage account
  • Confirm HTML page on Microsoft Expression
  • Upload website files to storage account
  • Confirm website is reachable using endpoint address
    • https://xxxxxxxxxxx.xxx.web.core.windows.net/
  • Review steps to setup Custom Domain on storage account.
    • Use step 1 and 2 to prevent downtime
  • Navigate to Azure DNS and created 2 cname records
    • azstoretest  – cname – xxxxxxxxxxx.xxx.web.core.windows.net
    • asverify.azstoretest – cname – asverify.xxxxxxxxxxx.xxx.web.core.windows.net
  • Navigate back to storage account and add cname for domain from Azure DNS to Custom domain section
  • Validate that site can be access using custom domain

Microsoft Azure article covering referencing steps in video

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-custom-domain-name

Azure Storage Series

http://hazelnest.com/blog/blog/tag/azstorage