Share via

upload files on azure for static web

keith makoni 20 Reputation points
2026-02-10T14:33:23.85+00:00

uploaded codes on azure for static web and stuck , need assistance for an engineer to contact me . End goal is to build a website that is hosted by azure

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

{count} votes

Answer accepted by question author
  1. Praneeth Maddali 5,730 Reputation points Microsoft External Staff Moderator
    2026-02-10T15:39:59.99+00:00

    Hi @keith makoni

    Thanks for providing those details. Since you're uploading files directly to the $web container in Azure (not using GitHub or Static Web Apps), Azure Blob Storage static website hosting is the right approach for your project.

    Common issues after uploading include:

    • Static website hosting not enabled or not saved properly
    • Index file not set correctly
    • Files placed in the wrong location

    Here’s how to proceed:

    1. Enable static website hosting: In the Azure portal, select your storage account, go to Static website under Data management, set it to On, enter your index file name (e.g., index.html), and save. The Primary endpoint URL will appear at the top (https://yourstorageaccountname.z6.web.core.windows.net/)—this is your site address.
    2. Check your files: Go to Containers and open $web. Confirm your index.html and other files are inside. Make sure the Content type for index.html is set to text/html.
    3. Test your site: Paste the Primary endpoint URL into your browser. If it loads your homepage, everything is set. If you see an error, it may mean the index file isn’t at the root or hosting isn’t enabled.

    If the site isn’t loading, let me know:

    • What message or error you see at the Primary endpoint URL
    • If you see the $web container and your files in it

    reference:

     Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. keith makoni 20 Reputation points
    2026-02-10T15:48:51.9233333+00:00

    thank you i am going to try, this and revert back

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.