How to point to virtual machine configured in application gateway backend pool

Neerav Agrawal 45 Reputation points
2023-09-21T22:06:39.6466667+00:00

I have setup an application gateway to point one app service and one virtual machince through it.

I have DNS configurations (CNAME) set-up for both based upon respective custom domains. For example

  1. From DNS configuration "appservice.service.com" domain is pointing to application gateway, and that is correctly pointing to its app service configured in first backend pool of application gateway. Because same domain is added as a custom domain in app service.
  2. From DNS configuration "virtualmachine.service.com" domain is pointing to application gateway. In application gateway the second backend pool is configured for virtual machine but it is not pointing here correctly. I think it is not identifying it.

Can anyone please suggest how to resolve this.

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,072 questions
{count} votes

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.