Hi @Eugene N , thank you for your confirmation that your issue has been resolved.
Issue summary:
- Container App on private network (my own vnet) with ingress working only on that network
- I have a test VM on that VNet that can connect to the load balancer VIP and the replicas.
- I have private DNS zone with a record that resolves to load balancer VIP.
- Whenever I try to access the VIP expecting to see the application, I get the response from load balancer: "Error 404 - This Container App is stopped or does not exist."
Solution:
- Ingress load balancer of Azure Container Apps expects host header to be exactly as the "endpoint" that Container App generates. This endpoint is an FQDN (fully qualified domain name), something like myapp.happyhill-70162bb9.canadacentral.azurecontainerapps.io
- Endpoint should be resolvable by DNS and used as is to access the app through the ingress load balancer. In other words: for internal-only Azure Container Apps, the entry in Private DNS zone must match with the Azure Container Apps endpoint: myapp.happyhill-70162bb9.canadacentral.azurecontainerapps.io should resolve to load balancer private VIP (Virtual IP).
- Client VM accesses the application using endpoint FQDN.
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.