Share via

How can I have my custom Domain reset?

Robert VAN DYKE 0 Reputation points
2026-04-27T13:21:52.1566667+00:00

Hello,

I’m experiencing an issue with custom domains on my Azure Static Web App.

Both domains — XXX.com and XXXXX.net — show as Validated, and DNS appears to be configured correctly. However, when accessingXXXX.com the Azure blue “404 Web Site not found” page is returned.

This issue began after deleting and re-adding the domains multiple times while configuring them with assistance from Microsoft Copilot, which led to some configuration mistakes.

Request:

Could you please fully reset/remove any existing custom domain configurations on your end so I can start fresh?

Additionally, I’d appreciate clarification on the correct setup process:

After verifying domain ownership via GoDaddy, is it also required to configure a CNAME record, or is domain verification sufficient?
edited PII information

Azure Static Web Apps
Azure Static Web Apps

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


1 answer

Sort by: Most helpful
  1. Praneeth Maddali 10,025 Reputation points Microsoft External Staff Moderator
    2026-04-27T14:02:23.2066667+00:00

    Hi @Robert Van Dyken

    Thanks for reaching out and sharing the details. The blue "404 Web Site not found" page showing up even though your custom domains appear as Validated is a known behavior on Azure Static Web Apps. It typically happens after several add/delete attempts, leaving the domain binding in an inconsistent state on Azure’s side.

    Recommended Reset Steps

    To start fresh:

    1. In the Azure portal, navigate to your Static Web App > Custom domains.
    2. Delete both custom domains if they are still listed.
    3. If they don’t remove cleanly, wait 10–15 minutes and try again. You can also use the Azure CLI command az staticwebapp hostname delete for a more reliable removal.

    After deletion, go to your DNS provider and temporarily remove any CNAME or ALIAS records that were pointing to your Static Web App. This prevents old records from interfering.Important: After deletion, give Azure at least 24 hours to fully release the domain binding before you re-add them. Re-adding too soon is often what causes things to get stuck.

    Correct Setup Process

    Domain ownership verification (TXT record) is required, but it is not sufficient by itself. You also need proper routing records so traffic actually reaches your app:

    • For a www subdomain: Add a CNAME record pointing to your app’s default hostname (<your-app>.azurestaticapps.net).
    • For the apex/root domain: Many registrars (including GoDaddy) have limitations with apex records. A common workaround is to configure the www version first and then set up domain forwarding from the root to www. For full apex support, consider using Azure DNS.

    Once your DNS records are updated (allow 5–30 minutes for propagation):

    • In the Azure portal, go to Custom domains >+ Add >Custom domain on other DNS.
    • Enter your domain, add the TXT verification record provided by Azure, and complete the validation.
    • Azure will automatically issue a free SSL/TLS certificate once the domain is successfully bound.

    Reference :

    https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain-external

    https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain

    https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-external

    After these changes, test both the default *.azurestaticapps.net URL (which should load normally) and your custom domains.

    If you still see the 404 after a full reset and DNS propagation, feel free to reply with a description of your current DNS records and what you see in the Custom domains blade

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you

    Was this answer helpful?

    0 comments No comments

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.