Hosting multiple static websites on Azure Blob Storage

Sam Uresin 36 Reputation points
2021-02-01T17:13:01.463+00:00

I currently host a static web app on Azure Blob Storage which uses an SSL cert that I have on Azure Key Vault -- see picture below.

62498-screenshot-2021-02-01-094009.png

My question is hosting second and third static web apps -- which will also have their own SSL certs coming from Azure Key Vault. Do I need separate storage accounts for each static website I want to host on Azure Blob Storage?

All the files come from $web container and I'm not sure if there's a way to pull web site content from another container on Azure Blob Storage.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,686 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,427 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 33,306 Reputation points Microsoft Employee
    2021-02-01T23:42:07.617+00:00

    @Sam Uresin
    You should create a separate Azure Storage Account for each static website. For more information please refer to the documentation here.

    Hope this helps. Let us know if you have further questions or issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Guillermo Sanchez 1 Reputation point
    2021-09-28T19:51:48.597+00:00

    Can I add subfolders in the $web to act as a different static page?

    as in:
    $Web

    • index.html
    • stylesheet.css
    • ...etc
    • subfoder
      --index.html
      --stylesheet.css
      --...etc

    So I can reach one state site from $web/index.html and the second from $web/subfolder/index.html, if it is possible how can I reach the subfolder index.html?

    Thank you


  2. Alan Gault 1 Reputation point
    2021-10-27T20:26:36.49+00:00

    I have the same question as Guillermo.

    0 comments No comments

  3. Sam Uresin 36 Reputation points
    2021-10-28T03:34:30.057+00:00

    @Guillermo Sanchez @Alan Gault Yes, you can have subolders within $web. You can think of it as the root directory of your website.