0
0
Azurecloud~30 mins

CDN with custom domains in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
CDN with Custom Domains on Azure
πŸ“– Scenario: You are working for a company that wants to speed up their website by using a Content Delivery Network (CDN). They also want to use their own website address (custom domain) instead of the default CDN address.
🎯 Goal: Create an Azure CDN profile and endpoint, then add a custom domain to the CDN endpoint to serve content using the company’s own domain name.
πŸ“‹ What You'll Learn
Create an Azure CDN profile named myCdnProfile in the resource group myResourceGroup.
Create a CDN endpoint named myCdnEndpoint under myCdnProfile with origin hostname www.example.com.
Add a custom domain named www.customdomain.com to the CDN endpoint myCdnEndpoint.
Enable HTTPS for the custom domain.
πŸ’‘ Why This Matters
🌍 Real World
Companies use CDNs to deliver website content faster to users worldwide. Using custom domains helps maintain brand identity and trust.
πŸ’Ό Career
Cloud engineers and DevOps professionals often configure CDNs and custom domains to optimize web performance and security.
Progress0 / 4 steps
1
Create the Azure CDN profile
Write an Azure CLI command to create a CDN profile named myCdnProfile in the resource group myResourceGroup with the SKU Standard_Microsoft.
Azure
Need a hint?

Use az cdn profile create with the correct parameters.

2
Create the CDN endpoint
Write an Azure CLI command to create a CDN endpoint named myCdnEndpoint under the profile myCdnProfile in resource group myResourceGroup. Set the origin hostname to www.example.com.
Azure
Need a hint?

Use az cdn endpoint create with the correct parameters.

3
Add the custom domain to the CDN endpoint
Write an Azure CLI command to add a custom domain named www.customdomain.com to the CDN endpoint myCdnEndpoint under profile myCdnProfile in resource group myResourceGroup. Use the hostname www.customdomain.com.
Azure
Need a hint?

Use az cdn custom-domain create with the correct parameters.

4
Enable HTTPS for the custom domain
Write an Azure CLI command to enable HTTPS on the custom domain named www.customdomain.com for the CDN endpoint myCdnEndpoint under profile myCdnProfile in resource group myResourceGroup.
Azure
Need a hint?

Use az cdn custom-domain enable-https with the correct parameters.