Ensure a Private DNS Zone is set up for Azure Container Apps internal domain
Example: privatelink.azurecontainerapps.io
Link the Private DNS Zone to the Virtual Network where App Gateway lives
Optional: Deploy a VM or use Azure Bastion in same subnet to verify DNS resolution
Command: nslookup <your-internal-container-app-name>.azurecontainerapps.io
In Application Gateway:
- Create a custom Health Probe
- Protocol: HTTP
- Port: 5464 (or your custom exposed port)
- Path: / (or your app's health endpoint)
- Host: <internal FQDN of your container app>
- Interval/Timeout: 30s/20s (or preferred settings)
- Create a custom HTTP Setting
- Backend port: 5464
- Override host header: <internal FQDN of your container app>
- Use custom probe created above
- Attach the container app's internal IP or FQDN as a backend pool target
Final check: Ensure NSG rules allow traffic between App Gateway subnet and Container App subnet on port 5464
Once all is wired correctly, Application Gateway should see backend as healthy and route traffic successfully. Let me know if any confusion in this.