Azure / Azure/static-web-apps

Failed to add custom domain to SWA with error message: CNAME Record is invalid

Open
#911 4 comments 10 reactions 0 assignees View on GitHub
domains/certs
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Failed to add custom domain to SWA with error message: CNAME Record is invalid. Please ensure the CNAME record has been created.

I am stuck in a situation though where I use Azure DNS to manage a domain and have correctly set the CNAME record pointing to: witty-beach-0bbf51703.1.azurestaticapps.net

This is the error I get in the Azure Portal when adding a domain that's correctly added:
CNAMERecord is invalid. Please ensure the CNAME record has been created.

Similar issues: https://github.com/Azure/static-web-apps/issues/202

@miwebst Both types of domains are now supported: https://docs.microsoft.com/en-us/azure/static-web-apps/custom-domain?tabs=azure-dns

Still we are facing the same issue .

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.