I’m in a bit of a pickle and could really use some help with the following:
I have a Container Apps Environment integrated into a private VNET with a dedicated subnet and ILB enabled. I’ve deployed a few container apps (let’s call them app1, app2, and app3) into this ACA Environment. I’ve already set up a Private DNS Zone for the ACA Env domain (let’s call it env.containerapps.io), created an A record pointing @ to the static IP of the environment, and linked it to my VNET.
At this point, I can access my apps within the VNET using app1.env.containerapps.io, app2.env.containerapps.io, and app3.env.containerapps.io.
Now, I want to expose these apps to the internet using an Application Gateway. End-to-end encryption and custom domains for my ACA Env aren’t important right now.
I’ve purchased a domain (mydomain.com) from another provider and created a wildcard self-signed certificate for *.mydomain.com. I also created a static public IP address and configured the frontend on my Application Gateway to use this certificate.
At this stage, I believe creating a separate backend pool and HTTP listener for each app could work. Something like this: app1.mydomain.com HTTP listener (Basic type) -> Backend address pool for app1.env.containerapps.io with "Pick host name from backend address" set to True. (And similar configurations for app2 and app3.)
However, I’m wondering if there’s a way to override the hostname while preserving the subdomain—something like: whatever.mydomain.com -> whatever.env.containerapps.io
I’ve been experimenting with multi-site listeners (single or wildcard) and backend pools without subdomain-specific configurations, but nothing seems to work.
Has anyone set up something similar or have any tips on how to make this work? I’d appreciate any help!

