@@ -42,23 +42,23 @@ First, use the following steps to create the `CNAME` record:
42
42
--query 'properties.customDomainConfiguration.customDomainVerificationId'
43
43
```
44
44
45
- After you add the ` CNAME ` and ` TXT ` record, the DNS records page will resemble the following table.
45
+ After you add the ` CNAME ` and ` TXT ` record, the DNS records page will resemble the following table.
46
46
47
- | Name | Type | Value |
48
- | ---------------------| ---------| --------------------------------------------------------------------|
49
- | ` {subdomain} ` | ` CNAME ` | ` testapp.agreeablewater-4c8480b3.eastus.azurecontainerapps.io ` |
50
- | ` asuid.{subdomain} ` | ` A ` | ` 6K861CL04CATKUCFF604024064D57PB52F5DF7B67BC3033BA9808BDA8998U270 ` |
47
+ | Name | Type | Value |
48
+ | ---------------------| ---------| --------------------------------------------------------------------|
49
+ | ` {subdomain} ` | ` CNAME ` | ` testapp.agreeablewater-4c8480b3.eastus.azurecontainerapps.io ` |
50
+ | ` asuid.{subdomain} ` | ` A ` | ` 6K861CL04CATKUCFF604024064D57PB52F5DF7B67BC3033BA9808BDA8998U270 ` |
51
51
52
- Next, bind the custom domain to your app by using the following command.
52
+ 1 . Next, bind the custom domain to your app by using the following command.
53
53
54
- ``` azurecli
55
- az spring app custom-domain bind \
56
- --resource-group <resource-group-name> \
57
- --service <Azure-Spring-Apps-service-instance-name> \
58
- --app <app-name> \
59
- --domain-name <your-custom-domain-name> \
60
- --certificate <name-of-your-certificate-under-Azure-Container-Apps-environment>
61
- ```
54
+ ``` azurecli
55
+ az spring app custom-domain bind \
56
+ --resource-group <resource-group-name> \
57
+ --service <Azure-Spring-Apps-service-instance-name> \
58
+ --app <app-name> \
59
+ --domain-name <your-custom-domain-name> \
60
+ --certificate <name-of-your-certificate-under-Azure-Container-Apps-environment>
61
+ ```
62
62
63
63
## Clean up resources
64
64
0 commit comments