web application service

哈 哈哈 0 Reputation points
2023-09-28T16:30:25.1333333+00:00
I am using a static web application service and deployed a static page. It could be accessed normally before and no changes were made. However, when I suddenly accessed the static page today, it changed to 404.
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
934 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,046 Reputation points
    2023-10-06T23:52:40.5566667+00:00

    Hi @哈 哈哈 we're sorry to hear you're facing this problem. When did you start noticing this issue? did you make any recent changes to your application?

    If your Azure static web app service was working fine before and suddenly started returning a 404 error, there could be a few reasons for this. Here are some steps you can take to debug and solve the issue:

    1. Make sure that you are using the correct URL to access your static web application. If you have recently made any changes to your DNS settings or custom domains, make sure that they are configured correctly.
    2. Check the deployment status of your static web application in the Azure portal. Make sure that the deployment was successful and that there are no errors or warnings
    3. Check the routing rules in your static web application to make sure that they are configured correctly. If you are using Azure Functions or other backend services, make sure that the routing rules are set up correctly.
    4. Lastly check the logs of your static web application to see if there are any errors or exceptions. You can use the Azure portal to view the logs of your static web application.

    Hope that helps.

    -Grace

    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.