Azure does not let me select external DNS provider when creating custom domain for static website

Kevin Loduwick 0 Reputation points
2026-06-09T06:23:39.9+00:00

When trying to create a custom domain and selecting Custome domain on other DNS. Azure defaults to - We will automatically create the necessary DNS records in your Azure DNS zone.

I am not sure if this is the right way to go as our DNS is hosted in Google.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


2 answers

Sort by: Most helpful
  1. Praneeth Maddali 10,705 Reputation points Microsoft External Staff Moderator
    2026-06-09T07:15:23.01+00:00

    Hi @Kevin Loduwick

    Thanks for reaching out — I understand the confusion with the custom domain setup. When Azure suggests "We will automatically create the necessary DNS records in your Azure DNS zone," it's just the default for customers using Azure DNS. Since your DNS is hosted with Google, you're on the right track by choosing Custom domain on other DNS.

    This option fully supports external providers like Google Cloud DNS. You don't need to move your DNS to Azure.

    Quick Steps to Set It Up:

    1. In your Static Web App >Settings > Custom domains, click + Add and select Custom domain on other DNS.
    2. Enter your domain (e.g., www.example.com for a subdomain or example.com for the root/apex domain).
    3. Azure will show the exact records you need to add in Google DNS (usually a CNAME for www subdomains, and often a TXT record for ownership validation).
    4. Log into your Google DNS console, add those records, and wait a few minutes for them to propagate.
    5. Back in Azure, it should validate automatically. Once done, Azure provisions a free SSL certificate for you.

    Important tip: For apex/root domains, Google DNS works best with an ALIAS or ANAME record if supported, or you can forward the root to

    Reference :

    https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain-external

    https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-external

    https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you

    Was this answer helpful?

    0 comments No comments

  2. TP 158.4K Reputation points Volunteer Moderator
    2026-06-09T06:49:00.0766667+00:00

    Hi Kevin,

    You can ignore that text when selecting Add -- Custom domain on other DNS. You will need to add your own DNS records since you are not using Azure DNS. It will also show a notification saying it "successfully added records to DNS zone" once it has finished validating and configuring the custom domain, which isn't true either.

    I consider the incorrect text/messaging a harmless bug at this point. Please go ahead and add your custom domain, necessary DNS records, etc., and reply back here with your results.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    Was this answer helpful?

    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.