Forum Discussion

Xtreme-Akarshan's avatar
Xtreme-Akarshan
Occasional Reader
Sep 12, 2025

Azure container app updating revision Issue.

Hi Team,

I am facing an issue with the container URL, 

Here is the scenario, I am using a web application with application URL, eg: https://xyz.com and we are using Application gateway with rewrites rule of http to https and while updating the container revision when a new revision is getting activated application URL gets converted to container application URL, which i don't want to show. 

any response will be helpful.

 

Thanks

Akarshan

1 Reply

  • hi Xtreme-Akarshan​  This happens because Azure Container Apps replies with its system FQDN (*.azurecontainerapps.io) during revision swaps if only that hostname is bound. To avoid exposing it:

    • In App Gateway HTTP settings, turn off "Pick host name from backend" and override with your custom domain.
    • Add your custom domain + TLS cert in the Container App's Custom Domains blade.
    • Optionally, use a rewrite rule to enforce your vanity domain in responses.

    With these settings, your users will always see xyz.com instead of the container app URL during revision updates.

     

Resources