Azure container app ingress URL does not change from the default Application Url

Vishal Bakshi 46 Reputation points
2023-05-29T14:27:34.8766667+00:00

Hello Team

 

I have set up an Azure private dns zone named as test.group and generated a self-signed certificate using powershell for this privat dns zone. Then I have created an azure container app with an azure container app environment using internal vnet network that is mapped to this azure private dns zone. After the creation of the container app and the container app environment, I have added the custom dns suffix in the container app envrionment along with the certificate under "bring your own certificate" tab. Both of them have been successful and I have got a green checkmark. The ingress setting on the container app is set to "Limited to VNet"

However, when I now create a new revision of the container app, or even launch a new container app using the same container app environment that has the custom dns suffix as my azure private dns zone, along with the validated certificate, it still launches the container app using the default fqdn for azure which is <UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io.  I see that the default URL is still not changing, even though the container app environment has got the custom domain (in this case hosted on azure PRIVATE dns zone). The app is accessible over the vnet using the default azure url, but not the custom dns suffix wherin the private dns zone has got auto register set to true as well.

Can anyone please suggest what am I doing wrong ?

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
329 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Cogan 10,332 Reputation points MVP
    2023-05-31T08:32:26.7833333+00:00

    Auto registration in Azure Private DNS is only supported for Azure VMs, not container apps. You will need to create a DNS record for your new app yourself, which resolves to the ACA environment. Once you do this it should work.


0 additional answers

Sort by: Most helpful