Creating Private DNS Zones for company-friendly aliases (CNAME) in Azure
Working with Azure resources often means dealing with complex FQDNs like myapp.azurewebsites.net
or mystorageaccount.blob.core.windows.net
. While these work perfectly fine, they’re not always the most user-friendly or company-branded names for your internal teams to remember and use. That’s where Azure Private DNS zones
come to the rescue, allowing you to create custom, company-friendly aliases for your Azure resources.
In this article, I’ll show you how to set up a Private DNS zone to create a CNAME record that maps a company domain to your Azure App Service, making it accessible via a URL like app.mycompany.com
.