Exam AZ-104 Topic 4 Question 338 Discussion
Actual exam question for Microsoft's AZ-104 exam
Question #: 338
Topic #: 4
Question #: 338
Topic #: 4
You need to configure an Azure web app named contoso.azurewebsites.net to host www.contoso.com.
What should you do first?
What should you do first?
Suggested Answer: A Vote an answer
Detailed Explanation
Before App Service will accept a custom domain, you must prove ownership of it using a domain verification record. For a subdomain such as www.contoso.com (as opposed to the apex/root domain contoso.com), Microsoft ' s supported method is a CNAME record named asuid.www pointing to the app ' s domain verification ID (the same value shown under the app ' s custom domain verification ID setting); apex domains must instead use a TXT record because DNS does not allow a CNAME to coexist with other records (like MX) at the zone root. Since www.contoso.com is a subdomain, creating the asuid CNAME verification record is the correct first step, performed before adding the actual www CNAME/A record that routes traffic to the app.
Official Reference
Tutorial: Map an existing custom DNS name to Azure App Service - https://learn.microsoft.com/en-us/azure
/app-service/app-service-web-tutorial-custom-domain
Before App Service will accept a custom domain, you must prove ownership of it using a domain verification record. For a subdomain such as www.contoso.com (as opposed to the apex/root domain contoso.com), Microsoft ' s supported method is a CNAME record named asuid.www pointing to the app ' s domain verification ID (the same value shown under the app ' s custom domain verification ID setting); apex domains must instead use a TXT record because DNS does not allow a CNAME to coexist with other records (like MX) at the zone root. Since www.contoso.com is a subdomain, creating the asuid CNAME verification record is the correct first step, performed before adding the actual www CNAME/A record that routes traffic to the app.
Official Reference
Tutorial: Map an existing custom DNS name to Azure App Service - https://learn.microsoft.com/en-us/azure
/app-service/app-service-web-tutorial-custom-domain
by Galee at Oct 05, 2026, 06:48 AM
0
0
0
10
Comments
Galee
2026-10-05 06:48:50Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).