Skip to content

Commit 3459323

Browse files
brhamilton529KarlErickson
authored andcommitted
edits and spacing
1 parent 5b0c099 commit 3459323

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

articles/spring-apps/quickstart-custom-domain.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ms.custom: devx-track-java
1313

1414
**This article applies to:** ✔️ Standard consumption (Preview) ❌ Basic/Standard ❌ Enterprise
1515

16-
This article shows how to map a custom web site domain, such as such as [www.contoso.com](https://www.contoso.com/), to your app in Azure Spring Apps. This mapping is accomplished by using a CNAME record that is made known to the Domain Name Service (DNS) that stores node names throughout the network.
16+
This article shows how to map a custom web site domain, such as such as [www.contoso.com](https://www.contoso.com/), to your app in Azure Spring Apps. This mapping is accomplished by using a CNAME record that the Domain Name Service (DNS) uses to store node names throughout the network.
1717

18-
The mapping secures the custom domain with a certificate and enforces Transport Layer Security (TLS), also known as Secure Sockets Layer (SSL).
18+
The mapping secures the custom domain with a certificate and enforces Transport Layer Security (TLS), also known as the Secure Sockets Layer (SSL).
1919

2020
## Prerequisites
2121

@@ -27,17 +27,19 @@ The mapping secures the custom domain with a certificate and enforces Transport
2727

2828
To map the custom domain, you create the CNAME record and then use the Azure CLI to bind the domain to an app in Azure Spring Apps.
2929

30-
## Create the CNAME record
30+
### Create the CNAME record
3131

32-
* Contact your DNS provider to request a CNAME record to map your domain to the Full Qualified Domain Name (FQDN) of your spring app.
33-
* Add a TXT record with the name `asuid.{subdomain}`, with the value being the verification ID of your Azure Container Apps Environment. You can find this value using the following command.
32+
Use the following steps to create the CNAME record:
3433

35-
```azurecli
36-
az containerapp env show \
37-
--name <managed environment name> \
38-
--resource-group <resource group> \
39-
--query 'properties.customDomainConfiguration.customDomainVerificationId'
40-
```
34+
1. Contact your DNS provider to request a CNAME record to map your domain to the Full Qualified Domain Name (FQDN) of your spring app.
35+
1. Add a TXT record with the name `asuid.{subdomain}` with the value being the verification ID of your Azure Container Apps Environment. You can obtain this value with the following command.
36+
37+
```azurecli
38+
az containerapp env show \
39+
--name <managed environment name> \
40+
--resource-group <resource group> \
41+
--query 'properties.customDomainConfiguration.customDomainVerificationId'
42+
```
4143
4244
After you add the CNAME and TXT record, the DNS records page will resemble the following table.
4345
@@ -46,17 +48,17 @@ After you add the CNAME and TXT record, the DNS records page will resemble the f
4648
| {subdomain} | CNAME | testapp.agreeablewater-4c8480b3.eastus.azurecontainerapps.io |
4749
| asuid.{subdomain} | A | 6K861CL04CATKUCFF604024064D57PB52F5DF7B67BC3033BA9808BDA8998U270 |
4850
49-
## Bind the custom domain
51+
### Bind the custom domain
5052
5153
Bind the custom domain to your app using the following Azure CLI command.
5254
5355
```azurecli
5456
az spring app custom-domain bind \
55-
--resource-group <resource group> \
56-
--service <service name> \
57-
--app <app name> \
58-
--domain-name <your custom domain name> \
59-
--certificate <name of your certificate under managed environment>
57+
--resource-group <resource group> \
58+
--service <service name> \
59+
--app <app name> \
60+
--domain-name <your custom domain name> \
61+
--certificate <name of your certificate under managed environment>
6062
```
6163

6264
## Next steps

0 commit comments

Comments
 (0)