Forum Discussion

Xtreme-Akarshan's avatar
Xtreme-Akarshan
Copper Contributor
Sep 12, 2025
Solved

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 rewrite...
  • Surya_Narayana's avatar
    Sep 12, 2025

    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