You have an Azure App Service web app named app-contoso that runs in a Standard App Service plan. You need to configure a custom domain www.contoso.com for the web app and secure the domain using a free Azure App Service Managed Certificate.
Which four actions should you perform in sequence? To answer, arrange the actions in the correct order.
- 1Create a CNAME record with the DNS provider that maps www.contoso.com to app-contoso.azurewebsites.net.
- 2Add the custom domain www.contoso.com to the app-contoso App Service web app.
- 3Create an App Service Managed Certificate for the verified custom domain www.contoso.com.
- 4Add a TLS/SSL binding for www.contoso.com using the generated App Service Managed Certificate and SNI SSL.
Answer
The correct sequence of actions is: 1) Create a CNAME record with the DNS provider that maps the custom domain to the default web app domain. 2) Add the custom domain to the App Service web app. 3) Create an App Service Managed Certificate for the custom domain. 4) Add a TLS/SSL binding using the managed certificate and SNI SSL.
The correct sequence respects the dependency chain of Azure App Service domain configuration. First, the DNS record must be mapped to allow verification. Second, the domain is added to the web app using that verification. Third, the managed certificate is generated for the registered domain. Finally, the certificate is bound to the domain to secure the traffic using SNI.
Step-by-Step Solution
Key Concept
Configuring custom domains and securing them with App Service Managed Certificates in Azure App Service.