Question

Difficulty: EasyConfigure Azure App Services

You need to configure a custom domain named www.contoso.com for an Azure App Service web app. In which sequence should you perform the configuration steps to verify domain ownership and bind the custom domain?

  1. 1Retrieve the custom domain verification ID (asuid) from the Custom domains blade of the App Service.
  2. 2At your DNS registrar, create a TXT record with the host name 'asuid.www' pointing to the retrieved verification ID.
  3. 3In the Azure Portal, add the custom domain name 'www.contoso.com' in the App Service settings, validate, and complete the binding.

Answer

First retrieve the custom domain verification ID (asuid) from the Custom domains blade of the App Service, then create a TXT record with the host name 'asuid.www' pointing to the verification ID at your DNS registrar, and finally add and validate the custom domain name in the App Service custom domains settings.
The correct order requires retrieving the verification ID first, creating the corresponding TXT record in the DNS zone to prove ownership, and then adding and validating the domain name within the Azure App Service custom domains configuration.

Step-by-Step Solution

1
Retrieve the custom domain verification ID (asuid) from the App Service.
The verification ID is obtained from the Azure Portal.
This unique ID is required to configure the DNS TXT record for ownership verification.
2
Create the TXT record in your DNS zone at your domain registrar.
A TXT record with the host name 'asuid.www' pointing to the verification ID is created.
Azure queries this TXT record during the validation step to verify domain ownership.
3
Add the custom domain 'www.contoso.com' to the App Service and click Validate.
The custom domain is successfully validated and bound to the App Service.
This completes the binding process after ownership has been successfully verified via DNS.

Key Concept

Azure App Service Custom Domain Verification and Binding
Rate this question