Custom environment DNS Suffix in Azure Container Apps
By default, an Azure Container Apps environment provides a DNS suffix in the format <UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io
. Each container app in the environment generates a domain name based on this DNS suffix. You can configure a custom DNS suffix for your environment.
Note
To configure a custom domain for individual container apps, see Custom domain names and certificates in Azure Container Apps.
If you configure a custom DNS suffix for your environment, traffic to FQDNs that use this suffix will resolve to the environment. FQDNs that use this suffix outside the environment will be unreachable from the environment.
Add a custom DNS suffix and certificate
Go to your Container Apps environment in the Azure portal
Under the Settings section, select Custom DNS suffix.
In DNS suffix, enter the custom DNS suffix for the environment.
For example, if you enter
example.com
, the container app domain names will be in the format<APP_NAME>.example.com
.In a new browser window, go to your domain provider's website and add the DNS records shown in the Domain validation section to your domain.
Record type Host Value Description A *.<DNS_SUFFIX>
Environment inbound IP address Wildcard record configured to the IP address of the environment. TXT asuid.<DNS_SUFFIX>
Validation token TXT record with the value of the validation token (not required for Container Apps environment with internal load balancer). Back in the Custom DNS suffix window, in Certificate file, browse and select a certificate for the TLS binding.
Important
You must use an existing wildcard certificate that's valid for the custom DNS suffix you provided.
In Certificate password, enter the password for the certificate.
Select Save.
Once the save operation is complete, the environment is updated with the custom DNS suffix and TLS certificate.
Next steps
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre