You have an Azure subscription that contains a web app named webapp1.
You need to add a custom domain named www.contoso.com to webapp1.
What should you do first?
Click on the arrows to vote for the correct answer
A. B. C. D.A
You can use either a CNAME record or an A record to map a custom DNS name to App Service.
https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-domainThe first step to adding a custom domain named www.contoso.com to webapp1 in your Azure subscription would be to create a DNS record.
A DNS record is used to map a custom domain name to the IP address of your web app. This allows traffic to be directed to your web app when users enter the custom domain name in their web browser.
To create a DNS record, you would typically need to access the domain registrar for the domain name you wish to use (in this case, www.contoso.com). You would then create a new DNS record that points to the IP address of your web app.
Once the DNS record is in place, you can then configure your web app in Azure to use the custom domain name. This typically involves adding the custom domain name to the list of custom domains for the web app in the Azure Portal.
After the custom domain is added to the web app, you may need to configure SSL/TLS certificates for secure connections. This can be done by uploading a certificate to Azure and configuring the web app to use it.
In summary, the correct answer to the question is A. Create a DNS record. This is the first step in adding a custom domain name to a web app in Azure.