question

GuillermoSanchez-6338 avatar image
0 Votes"
GuillermoSanchez-6338 asked deherman-MSFT answered

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

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-storage-accountsazure-container-instancesazure-static-web-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@GuillermoSanchez-6338 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.