An Azure service that provides streamlined full-stack web app development.
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:
- In your Static Web App >Settings > Custom domains, click + Add and select Custom domain on other DNS.
- Enter your domain (e.g., www.example.com for a subdomain or example.com for the root/apex domain).
- 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).
- Log into your Google DNS console, add those records, and wait a few minutes for them to propagate.
- 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