Share via

Unable to add custom domain to Azure static web app

Ayodeji B. Alabi 0 Reputation points
2023-12-14T15:46:59.6233333+00:00

I am having trouble connecting a custom domain to my Azure static web app. The validation for both CNAME & TXT has been taking a long time. Can anyone provide any suggestions on how to resolve this issue?

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,251 Reputation points Microsoft Employee Moderator
    2023-12-19T07:12:00.9533333+00:00

    Ayodeji B. Alabi Thanks for sharing more details on this.

    From the backend, we can see that there were two domains attached to the above shared static webapp successfully and also we see that the above shared domain nileuniversity.edu.ng is hosted on whogohost domain provider.

    Since you are using external DNS provider, I would suggest you check with your domain provider whether A Name or ALIAS record mapping or CNAME flattering is supported by them or not.

    If they don't support CNAME flattering, then you need to configure your DNS in Azure DNS and use A record mapping instead of CNAME record mapping, but this results in performance issues as mentioned here.

    Feel free to reach back to me if you have any further questions on this.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.