Cannot generate TXT record for Static Web App - domainName is invalid. The domain name given was not found.

Alican Bircan 5 Reputation points
2023-05-20T06:26:13.6433333+00:00

I had a Static web app with the custom domains of www.alican.se and alican.se configured. It worked as intended, and then I decided to create a new Static Web App and move my custom domains to it. I removed all references to my custom domain from my old App and then deleted it. I also cleared out all information from my DNS provider.

I then made my new Static Web App, configured my www domain without an issue and I can access the page without any problems. However, I am unable to configure my domain alican.se without the www. I get the following error: domainName is invalid. The domain name given was not found.

I know it takes couple of hours, even days for DNS changes to take effect. But this problem has persisted for almost a week. Any ideas on how to solve this issue?

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

1 answer

Sort by: Most helpful
  1. Alican Bircan 5 Reputation points
    2023-05-26T12:28:18.65+00:00

    I resorted to create a new Azure Static Web App and move my custom domains to it, as nothing else really solved my issue.

    1 person found this answer helpful.
    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.