My static site has two URLs and one doesn't work.

DANIELLE SILVA DE OLIVEIRA 0 Reputation points
2023-05-31T00:00:49.0733333+00:00

My static site has two URLs and one doesn't work.

I was able to place a static website on Azure with the URL https://nuvembiovet.z13.web.core.windows.net, however, when I needed to delete the html and css files from the website to make changes and place the new ones, the URL contained in the My container properties changed to https://nuvembiovet.blob.core.windows.net/$web.

In the latter, I cannot access it according to the attached error message. I'm worried about losing access to the URL that is working and I wanted to go back to the initial one.

This site is a university work, as is my azure account.

If you can explain to me in a very simple way how to fix it or if I can just continue accessing it through the URL https://nuvembiovet.z13.web.core.windows.net it will be of great help. I'm a beginner and I don't really know how the cloud works.


Meu site estático tem duas URL e uma não funciona
Consegui colocar um site estático no Azure com a URL https://nuvembiovet.z13.web.core.windows.net, porém, ao precisar apagar os arquivos html e css do site para realizar alterações e colocar os novos, a URL contida nas propriedades do meu container mudou para https://nuvembiovet.blob.core.windows.net/$web.

Nessa última não consigo acessar conforme a mensagem de erro anexada. Estou preocupada de perder o acesso pela URL que está funcionando e queria voltar a inicial.

Esse site é um trabalho universitário, assim como a minha conta do azure.

Se puderem me explicar de um modo bem simples como corrigir ou se eu posso apenas seguir acessando pela URL https://nuvembiovet.z13.web.core.windows.net será de grande ajuda. Sou iniciante e não sei bem como a nuvem funciona.

Obrigadaazure

azure 1

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,772 Reputation points Microsoft Employee Moderator
    2023-05-31T02:52:54.43+00:00

    @DANIELLE SILVA DE OLIVEIRA Thanks for posting your query on Microsoft Q&A. Currently it only supports English language.

    Regarding your question, the correct url to access your website is still [https://nuvembiovet.z13.web.core.windows.net]

    To know the URL of your static website, you should go to 'Overview' page on storage account -> 'Capabilities' tab -> 'Static Website' -> Check the 'primary endpoint'.

    Azure Storage static websites metrics metric

    Reference document: Find the website URL

    The value you found in My container properties page is not related to the URL of your website. It is related to the URL of the Azure Storage container that has been created to host your static website.

    You can continue accessing your website using the URL under 'Primary Endpoint' and ignore the URL under My Container properties.

    Hope that helps.


    If you have any questions at all, please let me know in the "comments" and I would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you. This can be beneficial to other community members for remediation for similar issues.

    User's image

    0 comments No comments

Your answer

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