I’m facing an issue while trying to validate a custom domain for my Azure Static Web App, and I’m looking for some guidance.
Steps I’ve Taken: DNS Configuration on GoDaddy:
I created a CNAME record with the following details: Name: myapp Value: victorious-any-bla-bla.azurestaticapps.net Custom Domain Setup in Azure Portal:
I attempted to create a custom domain in the Azure portal with the name: myapp.azurewebsites.net. This is needed to match the domain used for my other Azure applications for authorization purposes. In the validation step, I tried to validate the CNAME record created at the external DNS. Issue Encountered: I received the following error: “CNAME Record is invalid. Please ensure the CNAME record has been created.” Diagnostic Steps: I used the nslookup tool to check the CNAME record and received the following result: add screen
Observations: It seems like the CNAME record is pointing to azurestaticappstm4.trafficmanager.net instead of directly pointing to victorious-any-bla-bla.azurestaticapps.net. Questions:
- Is there something wrong with my DNS configuration on GoDaddy?
- Am I missing any steps in the Azure portal configuration?
Yauhen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.