Skip to content

Commit b3171d0

Browse files
authored
Update rule-based-routing-custom-domain.md
1 parent 36261cb commit b3171d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/container-apps/rule-based-routing-custom-domain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,19 @@ HTTP route configurations support custom domains, allowing you to route traffic
2525

2626
Using the DNS provider hosting your domain, create the appropriate DNS records for your custom domain.
2727
- If you are using the root domain (for example, `contoso.com`), create the following DNS records:
28+
2829
| Record type | Host | Value |
2930
|--|--|--|
3031
| A | `@` | The IP address of your Container Apps environment. |
3132
| TXT | `asuid` | The domain verification code. |
3233

3334
- If you are using a subdomain (for example, `www.contoso.com`), create the following DNS records:
35+
3436
| Record type | Host | Value |
3537
|--|--|--|
3638
| A | The subdomain (for example, `www`) | The IP address of your Container Apps environment. |
3739
| TXT | `asuid.{subdomain}` (for example, `asuid.www`) | The domain verification code. |
40+
3841
> [!NOTE]
3942
> 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.
4043
>
@@ -43,11 +46,13 @@ Using the DNS provider hosting your domain, create the appropriate DNS records f
4346
## Route configuration
4447

4548
Update your Container Apps YAML file to include a `customDomains` section. Include a `bindingType` and `certificateId`, based on the following criteria:
49+
4650
| bindingType value | Description |
4751
|--|--|
4852
| Disabled | No certificate is provided. The domain is only available over HTTP, and HTTPS is not available. |
4953
| 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. |
5054
| SniEnabled | A certificate is required. |
55+
5156
| Certificate type | certificateId format |
5257
| -- | -- |
5358
| None | Leave blank |

0 commit comments

Comments
 (0)