Can I run multiple static websites in a storage account using subfolders? I know by default you can only use $web

Guillermo Sanchez 1 Reputation point
2021-09-28T20:24:17.773+00:00

For example:

136024-screenshot-2021-09-28-132610.png

rl_bi.htm is my entry point for my "first" static app which I can reach just fine.
Inside the folder SecondStaticApp, I have the following:

136081-screenshot-2021-09-28-132640.png

I want to access a second static web page via SecondStaticApp/rl_bi.htm (this is a completely different webpage)

Is it possible to do this? if so, how can I achieve this? (how can I access the second entry point)
I want to do this because my company prefers to keep storage accounts as minimum as possible and I am aware I can only access one static website per storage account using the $web container.

Thank you

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
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,714 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
770 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,626 Reputation points Microsoft Employee
    2021-09-29T18:37:24.85+00:00

    @Guillermo Sanchez Yes it should be accessible if you specify the path in your url. To access the second website you would use the URL https://myaccount.z5.web.core.windows.net/SecondStaticApp/rl_bi.htm

    Hope this helps! Try this out and let me know if it doesn't work for you or if you have further questions.

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

    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.

    0 comments No comments