An Azure service that provides streamlined full-stack web app development.
Thank you for the detailed update and for sharing the full timeline and troubleshooting results.
I’m glad to hear the issue has now resolved without any further configuration changes. Based on the behavior you observed, this does point strongly toward a backend/edge propagation or host-to-content mapping issue affecting the custom domains, rather than an application, DNS, or routing problem.
Your comparison with the default *.azurestaticapps.net hostname was particularly useful. Since the default hostname consistently returned 200 while the custom domains intermittently returned 404 for the same routes and at the same time, this effectively isolated the issue to the custom-domain path.
The fact that the issue resolved approximately 36–48 hours after the previous Static Web App was deleted, with no additional changes during the final ~14 hours, is also consistent with delayed propagation/cleanup of the custom-domain configuration across the Static Web Apps edge infrastructure.
We appreciate the additional observations regarding repeated rebinding. While we cannot confirm the exact internal mechanism without backend investigation, your experience suggests that repeated remove/re-add operations may have extended the time required for the configuration to fully converge.
For future cases with similar symptoms, the following approach would be useful:
- Compare the custom hostname against the default
*.azurestaticapps.nethostname using the same route and timestamps. - If the default hostname remains consistently healthy while custom domains intermittently return
404, focus investigation on the custom-domain/edge layer rather than the application or DNS. - Avoid repeatedly removing and re-adding the domains unless specifically advised, as propagation may take significantly longer than the portal's nominal timeframe.
- Allow sufficient time for backend/edge propagation, particularly when the domains were previously associated with another Static Web App that has since been deleted.
We will also retain your timeline and observations as useful diagnostic information for similar cases.
Thank you again for the thorough investigation and for documenting the resolution. Your findings should be very helpful in distinguishing this type of issue from an application or DNS problem.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "accept" if the information helped you. This will help us and others in the community as well.