An Azure service that provides streamlined full-stack web app development.
Hi @Hunter Brelsford
Thanks for the update — great to hear the issue resolved itself after about 72 hours.
What you experienced is unfortunately common when custom domains are removed or rebound while the Static Web App is still present (or vice versa). Azure’s global edge platform needs time to fully clean up the old hostname bindings and propagate the new ones. In practice, this can take anywhere from a few hours to a couple of days, even though the portal often says 15–30 minutes.
Recommended production-safe approach:
Always follow this order when you need to recreate or migrate:
- Remove the custom domain from the Static Web App first (via portal or az staticwebapp hostname delete).
- Wait until the domain no longer appears in the Custom domains list (refresh and check after 30–60 mins).
- Then delete the SWA resource if needed.
- When setting up the new SWA, add the custom domain after the app is created and fully deployed.
- Allow 1–2 hours (sometimes longer) for the binding and certificate to become fully active.
This sequence significantly reduces the “ghost binding” issues you ran into.
Reference :
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#manage-custom-domains
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 If you face this issue again, feel free to share the details in a private message so we can check the backend for you.
Happy to help if you need any further assistance!