An administrator is configuring a custom domain for a web app named App1 that runs on a Standard S1 App Service plan. The DNS zone for the domain contoso.com is hosted in Azure DNS. You need to configure App1 to be accessible via https://www.contoso.com using a free App Service Managed Certificate. Which two actions should you perform? Select two.
- In the DNS zone for contoso.com, create a CNAME record that points www to app1.azurewebsites.net.Cevap
- Add the custom domain www.contoso.com to App1.Cevap
- CScale down the App Service plan of App1 to the Free F1 tier.
- DCreate a Private DNS Zone named contoso.com and link it to the virtual network of App1.
Cevap
To configure the custom domain and secure it with a managed certificate, you must create a DNS CNAME record pointing the www subdomain to the web app's default URL, and add the custom domain to the App Service web app configuration.
The correct configurations involve creating a CNAME record in public DNS to verify domain ownership and route traffic, followed by adding the custom domain to the App Service. Both steps are prerequisites before an App Service Managed Certificate can be created and bound to secure the domain.
Adım Adım Çözüm
Anahtar Kavram
Configuring public custom domains and securing them with App Service Managed Certificates requires a valid public DNS mapping and binding the custom domain to the App Service prior to certificate generation.