Skip to content

Commit 1aebf3f

Browse files
committed
evert "update for DigiCert CNAME"
This reverts commit 33514d9.
1 parent 1bc1eb4 commit 1aebf3f

File tree

2 files changed

+53
-5
lines changed

2 files changed

+53
-5
lines changed

articles/container-apps/custom-domains-certificates.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ Azure Container Apps allows you to bind one or more custom domains to a containe
6666
| Apex domain | A record | An apex domain is a domain at the root level of your domain. For example, if your DNS (Domain Name System) zone is `contoso.com`, then `contoso.com` is the apex domain. |
6767
| Subdomain | CNAME | A subdomain is a domain that is part of another domain. For example, if your DNS zone is `contoso.com`, then `www.contoso.com` is an example of a subdomain that can be configured in the zone. |
6868

69-
1. Using the DNS provider that is hosting your domain, create DNS records based on the *Hostname record type* you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you own it.
69+
1. Using the DNS provider that is hosting your domain, create DNS records based on the *Hostname record type* you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you own it. The setup depends on whether you're using custom domains with the private endpoint (preview) feature:
7070

71+
# [General](#tab/general)
72+
7173
- If you selected *A record*, create the following DNS records:
7274

7375
| Record type | Host | Value |
@@ -81,6 +83,29 @@ Azure Container Apps allows you to bind one or more custom domains to a containe
8183
|--|--|--|
8284
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
8385
| TXT | `asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
86+
87+
# [Private endpoint](#tab/private-endpoint)
88+
89+
- If you selected *A record*, you need to have a private DNS zone which has the same DNS zone name as your public DNS. Create the following DNS record on your private DNS zone:
90+
91+
| Record type | Host | Value |
92+
|--|--|--|
93+
| A | `@` | The Private IP of your private endpoint on your container apps environment. |
94+
95+
In addition, you'll need to add the following record to your public DNS zone.
96+
97+
| Record type | Host | Value |
98+
|--|--|--|
99+
| TXT | `asuid` | The domain verification code. |
100+
101+
- If you selected *CNAME*, create the following DNS records on your public DNS zone:
102+
103+
| Record type | Host | Value |
104+
|--|--|--|
105+
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
106+
| TXT | `asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
107+
108+
---
84109

85110
1. Select the **Validate** button.
86111

@@ -180,8 +205,10 @@ Container Apps supports apex domains and subdomains. Each domain type requires a
180205
--query "properties.customDomainVerificationId"
181206
```
182207
183-
1. Using the DNS provider that is hosting your domain, create DNS records based on the record type you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you own it.
208+
1. Using the DNS provider that is hosting your domain, create DNS records based on the record type you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you own it. The setup depends on whether you're using custom domains with the private endpoint (preview) feature:
184209
210+
# [General](#tab/general)
211+
185212
- If you selected *A record*, create the following DNS records:
186213
187214
| Record type | Host | Value |
@@ -195,6 +222,26 @@ Container Apps supports apex domains and subdomains. Each domain type requires a
195222
|--|--|--|
196223
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
197224
| TXT | `asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
225+
226+
# [Private endpoint](#tab/private-endpoint)
227+
228+
When using a private endpoint for your incoming traffic, you need to [create a private DNS zone](how-to-use-private-endpoint.md#configure-the-private-dns-zone).
229+
230+
- If you selected *A record*, create the following DNS records:
231+
232+
| Record type | Host | Value |
233+
|--|--|--|
234+
| A | `@` | The Private IP of your private endpoint on your container apps environment. |
235+
| TXT | `asuid` | The domain verification code. |
236+
237+
- If you selected *CNAME*, create the following DNS records:
238+
239+
| Record type | Host | Value |
240+
|--|--|--|
241+
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
242+
| TXT | `asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
243+
244+
---
198245
199246
1. Upload the certificate to your environment.
200247

articles/container-apps/custom-domains-managed-certificates.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The requirements are:
4747
1. Select the desired *Ingress traffic* setting.
4848
1. Enter the *Target port*.
4949
1. Select **Save**.
50-
50+
5151
1. Under the *Settings* section, select **Custom domains**.
5252

5353
1. Select **Add custom domain**.
@@ -63,7 +63,7 @@ The requirements are:
6363
| Apex domain | A record | An apex domain is a domain at the root level of your domain. For example, if your DNS zone is `contoso.com`, then `contoso.com` is the apex domain. |
6464
| Subdomain | CNAME | A subdomain is a domain that is part of another domain. For example, if your DNS zone is `contoso.com`, then `www.contoso.com` is an example of a subdomain that can be configured in the zone. |
6565

66-
1. Using the DNS provider that is hosting your domain, create DNS records based on the *Hostname record type* you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you're the owner.
66+
1. Using the DNS provider that is hosting your domain, create DNS records based on the *Hostname record type* you selected using the values shown in the *Domain validation* section. The records point the domain to your container app and verify that you're the owner.
6767

6868
- If you selected *A record*, create the following DNS records:
6969

@@ -78,13 +78,14 @@ The requirements are:
7878
|--|--|--|
7979
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
8080
| TXT | `asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
81-
81+
8282
1. Select **Validate**.
8383

8484
1. Once validation succeeds, select **Add**.
8585

8686
It might take several minutes to issue the certificate and add the domain to your container app.
8787

88+
8889
1. Once the operation is complete, you see your domain name in the list of custom domains with a status of *Secured*. Navigate to your domain to verify that it's accessible.
8990

9091
::: zone-end

0 commit comments

Comments
 (0)