Skip to Content

AZ-700: How to Configure Azure Application Gateway to Route Traffic to WebApp1 Using contoso.azurewebsite.net?

Learn the correct steps to configure Azure Application Gateway (AppGW1) to route traffic to your web app (WebApp1) using the domain contoso.azurewebsite.net. Discover key settings like overriding hostnames and selecting the right backend target for seamless traffic routing.

Table of Contents

Question

You have an Azure Application Gateway named AppGW1 that is used to route traffic to a web app named WebApp1. WebApp1 has a URL of contoso.azurewebsite.net.
You need to ensure that AppGW1 can reach WebApp1 by using contoso.azurewebsite.net.
Which two actions should you perform? Each correct answer presents part of the solution.

A. From the Add HTTP setting of AppGW1, set Override with new host name to No.
B. From the Add HTTP setting of AppGW1, set Override with new host name to Yes.
C. From the Add HTTP setting of AppGW1, set Host name override to Override with specific domain name.
D. From the Add HTTP setting of AppGW1, set Host name override to Pick host name from backend target.

Answer

B. From the Add HTTP setting of AppGW1, set Override with new host name to Yes.
D. From the Add HTTP setting of AppGW1, set Host name override to Pick host name from backend target.

Explanation

To configure a web app behind an application gateway that uses the default contoso.azurewebsite.com domain, you need to set the override new hostname setting to Yes, and then select the option pick host name from the backend target. If this setting is not selected, the application gateway hostname will be passed on, which will not route traffic to the web app.

Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.