What to do with the DNS Name of Application Gateway (WAF)'s IP to force traffic to an App Service with custom domain, to always go through WAF?

Ijaz M 226 Reputation points
2022-12-06T07:08:31.917+00:00

I have deployed an App GW, which has an App service that has a custom domain. Do I need to do anything with the DNS name of the AppGW's front end IP, in order to force traffic to the app service to always go through the AppGW which is a WAF.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
0 comments No comments
{count} votes

Accepted answer
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2022-12-07T11:53:41.217+00:00

    IjazM-0216, Thanks for posting this question.

    Based on my understanding of your question, you are looking to have, App Service configured so it accepts traffic from Application Gateway using the custom domain name as the incoming host.

    Typically, an HTTP Setting is required that instructs Application Gateway to access the App Service backend using the custom domain name. You need to configure custom health check probe, and the configure request routing rule to take traffic from a listener and route it to the Backend Pool.

    Checkout this document for doc Configure App Service with Application Gateway for more info.

    I also noticed that you’d posted a similar question on this thread. Hope this info helps!

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.