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
This tutorial shows how to add a custom domain to an Azure Content Delivery Network (CDN) endpoint.
19
19
20
-
The endpoint name in your CDN profile is a subdomain of azureedge.net. By default when delivering content, the CDN profile domain is included within the URL.
20
+
The endpoint name in your CDN profile is a subdomain of azureedge.net. By default when delivering content, the CDN profile domain gets included in the URL.
21
21
22
22
For example, `https://contoso.azureedge.net/photo.png`.
23
23
@@ -55,16 +55,16 @@ For Azure CDN, the source domain name is your custom domain name and the destina
55
55
56
56
Azure CDN routes traffic addressed to the source custom domain to the destination CDN endpoint hostname after it verifies the CNAME record.
57
57
58
-
A custom domain and its subdomain can be added to only a single endpoint at a time.
58
+
A custom domain and its subdomain can only get added to a single endpoint at a time.
59
59
60
60
Use multiple CNAME records for different subdomains from the same custom domain for different Azure services.
61
61
62
62
You can map a custom domain with different subdomains to the same CDN endpoint.
63
63
64
64
> [!NOTE]
65
65
> - This tutorial uses the CNAME record type for multiple purposes:
66
-
> -*Traffic routing* can be accomplished with a CNAME record as well as A or AAAA record types in Azure DNS. To apply, follow the steps below and replace the CNAME record with the record type of your choice.
67
-
> - A CNAME record is **required** for custom domain *ownership validation* and must be available when adding the custom domain to a CDN Endpoint. More details below.
66
+
> -*Traffic routing* can be accomplished with a CNAME record as well as A or AAAA record types in Azure DNS. To apply, use the following steps to replace the CNAME record with the record type of your choice.
67
+
> - A CNAME record is **required** for custom domain *ownership validation* and must be available when adding the custom domain to a CDN Endpoint. More details in the following section.
68
68
69
69
---
70
70
# [**Azure DNS**](#tab/azure-dns)
@@ -152,7 +152,7 @@ To create a CNAME record for your custom domain:
152
152
153
153
3. Save your changes.
154
154
155
-
4. If you're previously created a temporary cdnverify subdomain CNAME record, delete it.
155
+
4. If you previously created a temporary cdnverify subdomain CNAME record, delete it.
156
156
157
157
5. If you're using this custom domain in production for the first time, follow the steps for [Add the custom domain with your CDN endpoint](#add-a-custom-domain-to-your-cdn-endpoint) and [Verify the custom domain](#verify-the-custom-domain).
158
158
@@ -175,7 +175,7 @@ After you've registered your custom domain, you can then add it to your CDN endp
4. In **Add a custom domain**, **Endpoint hostname**, is pre-filled and is derived from your CDN endpoint URL: **\<endpoint-hostname>**.azureedge.net. It cannot be changed.
178
+
4. In **Add a custom domain**, **Endpoint hostname**, gets generated and pre-filled from your CDN endpoint URL: **\<endpoint-hostname>**.azureedge.net. You can't change this value.
179
179
180
180
5. For **Custom hostname**, enter your custom domain, including the subdomain, to use as the source domain of your CNAME record.
181
181
1. For example, **www.contoso.com** or **cdn.contoso.com**. **Don't use the cdnverify subdomain name**.
@@ -184,7 +184,7 @@ After you've registered your custom domain, you can then add it to your CDN endp
184
184
185
185
6. Select **Add**.
186
186
187
-
Azure verifies that the CNAME record exists for the custom domain name you entered. If the CNAME is correct, your custom domain will be validated.
187
+
Azure verifies that the CNAME record exists for the custom domain name you entered. If the CNAME is correct, your custom domain gets validated.
188
188
189
189
It can take some time for the new custom domain settings to propagate to all CDN edge nodes:
190
190
- For **Azure CDN Standard from Microsoft** profiles, propagation usually completes in 10 minutes.
@@ -218,7 +218,7 @@ After you've registered your custom domain, you can then add it to your CDN endp
218
218
New-AzCdnCustomDomain @parameters
219
219
```
220
220
221
-
Azure verifies that the CNAME record exists for the custom domain name you entered. If the CNAME is correct, your custom domain will be validated.
221
+
Azure verifies that the CNAME record exists for the custom domain name you entered. If the CNAME is correct, your custom domain gets validated.
222
222
223
223
It can take some time for the new custom domain settings to propagate to all CDN edge nodes:
224
224
@@ -232,7 +232,7 @@ Azure verifies that the CNAME record exists for the custom domain name you enter
232
232
233
233
After you've completed the registration of your custom domain, verify that the custom domain references your CDN endpoint.
234
234
235
-
1. Ensure that you have public content that is cached at the endpoint. For example, if your CDN endpoint is associated with a storage account, Azure CDN will cache the content in a public container. Set your container to allow public access and it contains at least one file to test the custom domain.
235
+
1. Ensure that you have public content that you want cached at the endpoint. For example, if your CDN endpoint is associated with a storage account, Azure CDN caches the content in a public container. Set your container to allow public access and it contains at least one file to test the custom domain.
236
236
237
237
2. In your browser, navigate to the address of the file by using the custom domain. For example, if your custom domain is `www.contoso.com`, the URL to the cached file should be similar to the following URL: `http://www.contoso.com/my-public-container/my-file.jpg`. Verify that the result is that same as when you access the CDN endpoint directly at **\<endpoint-hostname>**.azureedge.net.
238
238
@@ -252,7 +252,7 @@ If you no longer want to associate your endpoint with a custom domain, remove th
252
252
253
253
3. From the **Endpoint** page, under Custom domains, right-click the custom domain that you want to remove, then select **Delete** from the context menu. Select **Yes**.
254
254
255
-
The custom domain is removed from your endpoint.
255
+
The custom domain gets removed from your endpoint.
0 commit comments