Search code examples
azureazure-web-app-serviceazure-custom-domain

Is the Custom Domain Verification shared across an Azure subscription?


I've noticed that the value of the Custom Domain Verification Id seems to be the same across many of my app services, app service plans, and azure regions in my Azure Subscription. I can't see any documentation as to whether confirming this observation. Is the Custom Domain Verification shared across an Azure subscription?

I'm referring to this Custom domain Verification ID in an Azure App Service location of Custom domain verification ID in Azure Portal

For context, I'm automating the creation of our Azure App Services and Amazon Route 53 domains using Terraform. At the time of writing the Custom Domain Verification Id is not available from the Azure Provider.


Solution

  • If you care about whether these values are same under the same subcription, the answer is yes. This is a default value.

    When you add the costom domain, app service will use this value to check whether the value is the same as the value in domain name provider. When they are the same, app service will know you are the owner of this domain and allow you to add.

    This value is mainly used to verify whether you are the owner of the domain. If you purchase the domain in your subscription, you do not need to consider adding this value to the domain name service provider. Azure will provide this value when you purchase the domain name to domain name providers.