Can not add Custom DNS to Azure Static web app

ibrahim doğrusöz 0 Reputation points
2024-12-17T13:50:34.8466667+00:00

I have a custom domain ending with .ru . I follow all the instructions. When I use DnsChecker I see that CNAME and A values are created correctly. However, I keep getting validation errors.

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

1 answer

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 1,585 Reputation points Microsoft Vendor
    2024-12-17T20:58:03.0966667+00:00

    Hi ibrahim doğrusöz ,
    Welcome to the Microsoft Q&A Platform!
    Ensure DNS records (CNAME/A) have fully propagated, which can take up to 48 hours. Use for confirmation.

    Ensure CNAME record points to yourapp.azurestaticwebapps.net.

    For apex domainsan A record pointing to Azure’s IP may be required.

    Ensure you’ve added the TXT record provided by Azure for domain verification in your DNS settings.

    Azure auto-manages SSL for custom domains. Check for any certificate conflicts or misconfigurations in DNS.

    Run nslookup or dig to check if the domain resolves correctly to Azure’s static web app endpoint.

    If validation errors mention “invalid domain” or “not verified,” it’s likely due to DNS not fully propagating or missing verification records.
    DNS Propagation Checker

    Azure Static Web Apps Documentation.
    If you've gone all these steps and the issue is their, providing the specific error message from the validation could help further assistances the issue.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    0 comments No comments

Your answer

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