An Azure service that provides streamlined full-stack web app development.
Hi,
You are getting "domainName is invalid. The domain name given was not found." when attempting to generate code because you have CAA records, but not for digicert.com, which effectively blocks Digicert.
Below is dig output:
You see in output how you have CAA records for:
- 0 issue "trust-provider.com"
- 0 issue "letsencrypt.org"
- 0 issue "sectigo.com"
You need to add CAA record 0 issue "digicert.com" to mmoser.com
After adding CAA record you may need to wait 1 hour for TTL to expire, then try to generate code again. You can try it sooner than 1 hour, but if it fails again wait and then try again.
Once you have the code add DNS record as below;
Type: TXT
Host: _dnsauth.kcvue
Value: <generated code>
TTL: 600 (10 minutes)
Custom domains with Azure Static Web Apps - Zero downtime migration
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#zero-downtime-migration
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP