You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/custom-domains-certificates.md
+49-2Lines changed: 49 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,10 @@ Azure Container Apps allows you to bind one or more custom domains to a containe
66
66
| 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. |
67
67
| 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. |
68
68
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:
70
70
71
+
# [General](#tab/general)
72
+
71
73
- If you selected *A record*, create the following DNS records:
72
74
73
75
| Record type | Host | Value |
@@ -81,6 +83,29 @@ Azure Container Apps allows you to bind one or more custom domains to a containe
81
83
|--|--|--|
82
84
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
83
85
| 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
+
---
84
109
85
110
1. Select the **Validate** button.
86
111
@@ -180,8 +205,10 @@ Container Apps supports apex domains and subdomains. Each domain type requires a
180
205
--query "properties.customDomainVerificationId"
181
206
```
182
207
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:
184
209
210
+
# [General](#tab/general)
211
+
185
212
- If you selected *A record*, create the following DNS records:
186
213
187
214
| Record type | Host | Value |
@@ -195,6 +222,26 @@ Container Apps supports apex domains and subdomains. Each domain type requires a
195
222
|--|--|--|
196
223
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
197
224
| 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. |
Copy file name to clipboardExpand all lines: articles/container-apps/custom-domains-managed-certificates.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The requirements are:
47
47
1. Select the desired *Ingress traffic* setting.
48
48
1. Enter the *Target port*.
49
49
1. Select **Save**.
50
-
50
+
51
51
1. Under the *Settings* section, select **Custom domains**.
52
52
53
53
1. Select **Add custom domain**.
@@ -63,7 +63,7 @@ The requirements are:
63
63
| 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. |
64
64
| 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. |
65
65
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.
67
67
68
68
- If you selected *A record*, create the following DNS records:
69
69
@@ -78,13 +78,14 @@ The requirements are:
78
78
|--|--|--|
79
79
| CNAME | The subdomain (for example, `www`) | The generated domain of your container app. |
80
80
| TXT |`asuid.` followed by the subdomain (for example, `asuid.www`) | The domain verification code. |
81
-
81
+
82
82
1. Select **Validate**.
83
83
84
84
1. Once validation succeeds, select **Add**.
85
85
86
86
It might take several minutes to issue the certificate and add the domain to your container app.
87
87
88
+
88
89
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.
0 commit comments