Skip to content

NKCODE TECH GEEK ZONE

  • RSS - Posts
Menu
  • Home
  • Cloud
    • Azure
    • Alibaba
    • AWS
  • Hardware
  • Linux
  • Network
  • Security
  • Windows Client / Servers
    • SQL
    • Windows Client OS
      • Windows 10
    • Windows Servers
      • Windows 2008R2
      • Windows Server 2012R2
      • Windows Server 2016
      • Windows Server 2019
  • VMWARE
  • Free Tools
  • About Me
    • Disclaimer
Menu

Publish the Static Website Using Azure Storage

Posted on October 23, 2019

Microsoft introduced Static website hosting is a feature from storage account enabled on the Static website.

To enable static website hosting, select the name of your default file, and then optionally provide a path to a custom 404 page. If a blob storage container named $web doesn’t already exist in the account, one is created for you. Add the files of your site to this container.

Creating a new Azure Storage Account and provide a name and under the Account -Kind make sure that you select General Purpose StorageV2.

After it creates the resource then go to Settings and select Static website. Select Enabled for Static Website.

Under the Index Document Name type index.html and under Error document path type 404.html.

Click Save, you’ll see there is a $web folder that you can click on to upload your files. I simply dropped a single index.html file with some text to test. You’ll also want to jot down the Primary endpoint location as you’ll test your site with that URL.

Upload HTML files $web folder.

Once you’ve uploaded your file to $web then go to your browser and paste in the URL provided in the previous step.

 

 

Source Reference: https://docs.microsoft.com/bs-latn-ba/azure/storage/blobs/storage-blob-static-website

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Email a link to a friend (Opens in new window) Email

Like this:

Like Loading…

Related

Welcome to Teck Geek Zone

Alibaba & Azure Cloud with a free trial worth $200-1200 USD Click below Cloud Providers

  • How to Configure Multi-Pool Point-to-Site (P2S) VPN Using Azure Virtual WAN (vWAN)
  • 🔐 IoT Security with AWS IoT: Building Secure Connected Systems at Scale
  • Azure Service Endpoint vs Private Endpoint: What’s the Difference and When to Use Each?
  • Amazon Inspector Code Security: Shifting Left with Automated Vulnerability Detection
  • Azure Introduces Network Security Hub: A Smarter Way to Secure Your Cloud Network

Categories

  • Cloud (200)
    • Alibaba (39)
    • AWS (45)
    • Azure (122)
  • Free Tools (5)
  • Hardware (17)
  • Linux (13)
  • Network (28)
  • Security (21)
  • VMWARE (58)
  • Windows OS (44)
    • Windows 10 (7)
  • Windows Servers (69)
    • SQL (3)
    • Windows 2008R2 (7)
    • Windows Server 2012R2 (15)
    • Windows Server 2016 (20)
    • Windows Server 2019 (10)

Subscribe to our newsletter

©2026 NKCODE TECH GEEK ZONE | Design: Newspaperly WordPress Theme

Loading Comments...

    %d