An Azure service that provides streamlined full-stack web app development.
Hi Akash,
Were these domains previously linked to static web app or app(s) in different subscription, and you removed them from that subscription?
I did quick check and I see for kritivak.com you have TXT for @ of _m0iqmom66k93l1mz9pq1otla8dpdhvo and for petfrnd.com you have TXT for @ of azure-validation-temp. Please delete these two TXT records from DNS.
1. Please add DigiCert CAA record for your apex domains. It should be: 0 issue "digicert.com" You may use dig in Azure Cloud Shell to verify it is correct with command similar to below:
dig kritivak.com caa
Output similar to below:
;; ANSWER SECTION:
kritivak.com. 3600 IN CAA 0 issue "digicert.com"
Please add CAA record for petfrnd.com and verify using dig as you did above for kritivak.com
2. Delete custom domain kritivak.com from your Static Web App (if it exists).
3. Wait 30 minutes (for TTL to expire on TXT record)
4. In Azure portal, add kritivak.com as custom domain to your Static Web App, generate new code for TXT record, be ready to immediately create TXT record. If generate code fails for some reason please post error in comment and screenshot if possible.
5. Quickly add _dnsauth TXT record with new code, with low TTL (e.g. 300 seconds) in your DNS provider's portal. Note this is different than creating @ TXT record, which is what portal will show. DNS record similar to below:
Type: TXT
Host: _dnsauth
Value: <generated code>
TTL: 300 (5 minutes)
6. Refresh in portal every 5 minutes to see if validation is complete. If it doesn't complete within 15 minutes there is an issue, add comment below
Please reply back here with your results, whether positive or negative.
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
Thanks.
-TP