Share via

the DNS for my site was working yesterday. Today, I get a 404 from Azure

Anonymous
2023-09-16T11:03:57.3066667+00:00

Hi, I'm doing some integration testing of my app before it goes live - all working well yesterday.

Today, I'm getting a 404 from Azure when I try to access it. My DNS is with namecheap - I checked the routing and that works. It's a static web app and when I go to the azure-provided url (https://somerandomstring.azurestaticapps.net) the site is served. I'd thought that it must be the dns provider, but that's getting through to the Azure 404 page.

Thanks for taking the time to read this!

Azure Static Web Apps
Azure Static Web Apps

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

{count} votes

1 answer

Sort by: Most helpful
  1. Bryan Trach 17,842 Reputation points Microsoft Employee Moderator
    2023-09-25T02:03:49.86+00:00

    @Anonymous Since you're able to access the site through the Azure-provided URL, it's possible that there's an issue with the custom domain configuration.

    Have you recently made any changes to your custom domain settings in Azure? If so, it's possible that there's a misconfiguration that's causing the 404 error.

    One thing you can try is to check the custom domain settings in the Azure portal to make sure that they're configured correctly. Specifically, you'll want to make sure that the custom domain is registered and verified in your Azure account, and that the DNS records are set up correctly with your DNS provider.

    If you're still having trouble after checking these settings, it's possible that there's an issue with the deployment of your static web app. In that case, you may want to check the deployment logs in the Azure portal to see if there are any errors or issues that are preventing the app from being served correctly.


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.