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/rule-based-routing-custom-domain.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,16 +25,19 @@ HTTP route configurations support custom domains, allowing you to route traffic
25
25
26
26
Using the DNS provider hosting your domain, create the appropriate DNS records for your custom domain.
27
27
- If you are using the root domain (for example, `contoso.com`), create the following DNS records:
28
+
28
29
| Record type | Host | Value |
29
30
|--|--|--|
30
31
| A | `@` | The IP address of your Container Apps environment. |
31
32
| TXT | `asuid` | The domain verification code. |
32
33
33
34
- If you are using a subdomain (for example, `www.contoso.com`), create the following DNS records:
35
+
34
36
| Record type | Host | Value |
35
37
|--|--|--|
36
38
| A | The subdomain (for example, `www`) | The IP address of your Container Apps environment. |
37
39
| TXT | `asuid.{subdomain}` (for example, `asuid.www`) | The domain verification code. |
40
+
38
41
> [!NOTE]
39
42
> The IP address of your Container Apps environment and the domain verification code can be found in the [Custom DNS suffix settings](./environment-custom-dns-suffix.md#add-a-custom-dns-suffix-and-certificate) of your Container Apps environment.
40
43
>
@@ -43,11 +46,13 @@ Using the DNS provider hosting your domain, create the appropriate DNS records f
43
46
## Route configuration
44
47
45
48
Update your Container Apps YAML file to include a `customDomains` section. Include a `bindingType` and `certificateId`, based on the following criteria:
49
+
46
50
| bindingType value | Description |
47
51
|--|--|
48
52
| Disabled | No certificate is provided. The domain is only available over HTTP, and HTTPS is not available. |
49
53
| Auto | A certificate is optional. If a managed certificate is already created for this domain, it is added to the route automatically. Otherwise, the domain is initially only available over HTTP. To create a managed certificate for this domain, create a new managed certificate after the route is created. After the certificate is created, it is automatically added to the route. |
0 commit comments