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
Domain Name Service (DNS) is a technique for storing network node names throughout a network. This articles maps a domain to your spring app, such as [www.contoso.com](https://www.contoso.com/), using a CNAME record. It secures the custom domain with a certificate and shows how to enforce Transport Layer Security (TLS), also known as Secure Sockets Layer (SSL).
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.
6
17
7
-
# Prerequisites
8
-
* An application deployed to Azure Spring Apps (see Quickstart: Launch an existing application in Azure Spring Apps using the Azure portal, or use an existing app).
9
-
* A domain name with access to the DNS registry for domain provider such as GoDaddy.
10
-
* A certificate resource created under Azure Container App Environment (see [Add certificate in Container App](https://learn.microsoft.com/en-us/azure/container-apps/custom-domains-certificates))
18
+
The mapping secures the custom domain with a certificate and enforces Transport Layer Security (TLS), also known as Secure Sockets Layer (SSL).
11
19
12
-
13
-
# Add custom domain
20
+
## Prerequisites
21
+
22
+
* An application deployed to Azure Spring Apps. For more information see [Quickstart: Build and deploy apps to Azure Spring Apps](/azure/spring-apps/quickstart-deploy-apps).
23
+
* A domain name registered in the DNS registry as provided by a web hosting or domain provider.
24
+
* A certificate resource created under the Azure Container Apps Environment, see [Add certificate in Container App](/azure/container-apps/custom-domains-certificates).
25
+
26
+
## Map a custom domain
27
+
28
+
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.
14
29
15
30
## Create the CNAME record
16
31
17
-
*Go to your DNS provider and add a CNAME record to map your domain to the fqdn of your spring app.
18
-
* Add an TXT record with then name asuid.{subdomain}, and the value of the TXT record is the custom domain verification id of your container app managed environment. You can find this value using:
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.
0 commit comments