Question

Difficulty: MediumConfigure Azure App Services

An administrator has uploaded a private PFX SSL certificate to an Azure App Service web app. The administrator now needs to configure the custom domain www.contoso.com for the web app and secure it using the uploaded certificate.

Which three actions should the administrator perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

  1. 1Create a CNAME record in the domain registrar's DNS zone that points www.contoso.com to the App Service default domain name.
  2. 2Add the www.contoso.com custom domain to the App Service web app.
  3. 3Create an SNI SSL binding for www.contoso.com using the uploaded certificate.

Answer

To configure the custom domain and secure it with the uploaded certificate, first create a CNAME record pointing the custom domain to the App Service default domain. Next, add the custom domain to the App Service. Finally, create an SNI SSL binding for the custom domain using the uploaded certificate.
To configure a custom domain and secure it, the DNS record must be created first to pass the Azure ownership verification check. Once the domain is added, the SSL binding can be created to link the domain with the uploaded PFX certificate.

Step-by-Step Solution

1
Create a CNAME record in the DNS registrar's zone pointing the custom domain to the App Service default domain.
Domain ownership validation requirement is satisfied.
Azure requires validation of domain ownership before a custom domain can be added to the App Service.
2
Add the custom domain to the App Service.
The custom domain is registered and mapped to the App Service.
The hostname must be registered with the App Service before SSL bindings can be applied to it.
3
Create an SNI SSL binding for the custom domain using the uploaded certificate.
HTTPS traffic to the custom domain is secured with the PFX certificate.
Binds the certificate to the custom domain to enable HTTPS encryption.

Key Concept

Configuring custom domains and SSL bindings in Azure App Services.
Estimated Time:2m 0s
Rate this question