Intermittent 404 on navigation to custom domain

Andy Gill 0 Reputation points
2025-02-02T15:44:27+00:00

Hi,

I'm having issues with a Static Web App.

When navigating to the randomly generated URL, the site loads 100% of the time.
I have a custom URL set up (app.company.com) - this will not navigate to the site 100% of the time. Sometimes it loads, and sometimes it doesn't. I also have an api at app.company.com/api, and from what I can understand, this is also having issues resolving, as some of the API calls are successful, and some are not.

The problem doesn't appear to be with my domain provider, as the 404 that is displayed when navigating to the custom domain is an Azure branded 404.

Any ideas?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,067 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 2,315 Reputation points Microsoft Vendor
    2025-02-07T09:10:53.8433333+00:00

    Hi @Andy Gill
    Thanks for the question and using MS Q&A platform.
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer

    DNS was set up correctly. Azure service said it was up, but it was just intermittent. I'm not having any problems since moving to Web App.

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

    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.