Azure Static Web App - Custom domains validated but returning 404 "Web Site not found"

A. Washington 0 Reputation points
2025-12-03T16:20:06.3566667+00:00

I've successfully validated both my custom domains in Azure Static Web Apps with green checkmarks and SSL certificates showing expiry dates. DNS records are configured correctly in GoDaddy (A record @ pointing to Azure IP, CNAME www pointing to *.azurestaticapps.net), and whatsmydns.net confirms propagation to Azure IPs globally. However, when visiting the domains, I get a 404 error stating "Custom domain has not been configured inside Azure" even though Azure portal shows them as validated. The default azurestaticapps.net URL works fine. I've tried deleting and re-adding the domains, waiting for propagation (2+ hours), and clearing cache. What additional steps are needed to get Azure to route traffic to these validated custom domains?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
{count} votes

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.