Sibeesh Passion

Top Menu

  • Home
  • Search
  • About
  • Privacy Policy

Main Menu

  • Articles
    • Azure
    • .NET
    • IoT
    • JavaScript
    • Career Advice
    • Interview
    • Angular
    • Node JS
    • JQuery
    • Knockout JS
    • Jasmine Framework
    • SQL
    • MongoDB
    • MySQL
    • WordPress
  • Contributions
    • Medium
    • GitHub
    • Stack Overflow
    • Unsplash
    • ASP.NET Forum
    • C# Corner
    • Code Project
    • DZone
    • MSDN
  • Social Media
    • LinkedIn
    • Facebook
    • Instagram
    • Twitter
  • YouTube
    • Sibeesh Venu
    • Sibeesh Passion
  • Awards
  • Home
  • Search
  • About
  • Privacy Policy

logo

Sibeesh Passion

  • Articles
    • Azure
    • .NET
    • IoT
    • JavaScript
    • Career Advice
    • Interview
    • Angular
    • Node JS
    • JQuery
    • Knockout JS
    • Jasmine Framework
    • SQL
    • MongoDB
    • MySQL
    • WordPress
  • Contributions
    • Medium
    • GitHub
    • Stack Overflow
    • Unsplash
    • ASP.NET Forum
    • C# Corner
    • Code Project
    • DZone
    • MSDN
  • Social Media
    • LinkedIn
    • Facebook
    • Instagram
    • Twitter
  • YouTube
    • Sibeesh Venu
    • Sibeesh Passion
  • Awards
  • Linux Azure Function Isolated Dot Net 9 YAML Template Deployment

  • Build, Deploy, Configure CI &CD Your Static Website in 5 mins

  • Post Messages to Microsoft Teams Using Python

  • Get Azure Blob Storage Blob Metadata Using PowerShell

  • Deploy .net 6 App to Azure from Azure DevOps using Pipelines

AzureHow to
Home›Azure›Azure Content Delivery Network (CDN) – A Walk Through

Azure Content Delivery Network (CDN) – A Walk Through

By SibeeshVenu
May 28, 2017
1867
0
Share:
cdn-overview

[toc]

Introduction

This post is going to walk through about Azure Content Delivery Network (CDN). Before we go deep into Azure CDN, it is recommended that you must know What is a CDN and What is the use of a CDN? So let’s go and try to answer those.

What is a CDN

In our day to day life, we all open websites many times, how fast you area getting responses from those sites? Some might be loading very fast, others may be slow, have you ever thought why there is such a huge delay in giving response? There are a lot of possible reasons behind it, here we are going to discuss about one reason and a solution that we can do, that is CDN. With the help of a CDN, we can reduce the physical distance between the user and our website server, and we can cache our images and other contents, so that the contents can be serced quickly.

What is a Azure CDN

Azure CDN, caches all the static contents that you have in your website, in different locations. Using a Azure CDN, can reduce the number of riund trips for getting the required contents, hence we get better performance and user experience.

cdn-overview
cdn-overview

Image Courtesy: Microsoft Docs

Advantages of having a Azure CDN are listed below.

  • Better performance for your apps and services
  • Global distributed network
  • Highly scalable infrastructure
  • Active redundancy and failover
  • High reliability
  • Robust security

Background

I own a personal website(http://sibeeshpassion.com/) and I wanted to make sure the end users of my site, get a better experience, creating a CDN is the first step towards it. And in this article I am just sharing how a Azure CDN can help in that. I hope you will like this.

Creating a Azure CDN

To create a CDN, you must login to https://portal.azure.com/ and then click on the New icon.

Azure Create New Resource
Azure Create New Resource

Now, search for CDN.

Search for CDN
Search for CDN

Our next step is to create the CDN profile, to do so, you must fill the form according to your preferences.

Create CDN Profile
Create CDN Profile

Please be sure that you are checking your price tier and, as per your needs, you can select one. Here I am selecting S1 Standard Verizon.

Choose the Pricing Tier
Choose the Pricing Tier

As we have created our CDN Profile, now it is time to create an End Point. Navigate to your CDN profile and click on the End Point.

Endpoint Option in CDN
Endpoint Option in CDN

You must add the required data in the upcoming Add and end point form. Here, the name is the name of your CDN end point, that will be created as .azureedge.net.

Once you are finished, you can see that your CDN end point is in running.

CDN Endpoint Running
CDN Endpoint Running

Creating a Custom Domain

We have successfully created an Azure CDN, but is that really over? For some people it is, but for others it is not. Let’s see why? We have an option to add a custom domain for our CDN, that’s cool right? If you noticed well, we have created a CDN as https://cdn-sp.azureedge.net but it would be great we can get one as https://cdn.sibeeshpassion.com right?. So here in this step, we are going to see how we can get a custom domain for our CDN.

To start with, login to your Azure Portal and browse for the CDN profile we have just created and click on the end point to which you want to map your custom domain.

Custom Domain Option in CDN
Custom Domain Option in CDN

Now login to your Domain Registrar’s website and navigate to DNS records (If you could not find DNS records, search for Domain Name or Name Server Management). Here I am using BigRocks, and the screenshots may be different for other service providers.

Manage DNS in BigRock
Manage DNS in BigRock

Navigate to the CNAME creation page, please check in advanced settings if you could not find it in default settings page. And fill the required fields.

CNAME Creation in DNS Window
CNAME Creation in DNS Window

Now, go back to azure portal, and give the custom domain name, we created in the DNS management settings(cdn.sibeeshpassion.com), in the Add a custom domain form.

Adding Custom Hostname
Adding Custom Hostname

Click Add. If everything goes fine, you should be able to enable the custom domain and the process will get started. The process includes the following tasks.

  • Submitting request
  • Domain validation
  • Certificate provisioning
  • Complete

The domain validation will be automatically done if you had added a CNAME in your host provider DNS configuration which points to your CDN host name. If not, you will get a mail (The mail id in the WHOIS database), please wait for it.

In the certificate provisioning task, you can either have your own certificate in the Azure Key Valut and use it, or an auto generated one from Azure. The process may take up to 6 hours, yes it is quite a lot of time.

If everything goes well, the process will be completed, and you can see it in your custom domain overview.

Certificate Deployed

You can see the complete status when you click on your custom domain.

Azure CDN Custom Domian Overview
Success Notification Custom Domain CDN
Success Notification Custom Domain CDN

Please be noted that, the verification process may take few minutes or hours. If you are sure that the CNAME configuration is correct, please wait some more time and check if you are getting any error.

Update to Premium

I recently changed my Azure CDN to premium, which offers wide variety of services. You can compare the features here. The premium gives you a separate portal to manage your CDN, https://cdn.windowsazure.com. You can see some of the features in the preceding image.

Azure CDN Premium Features

That’s all for today, I will come with another article which explore Azure CDN more. Till then, bye.

Conclusion

Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.

Your turn. What do you think?

A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.

Kindest Regards
Sibeesh Venu

TagsAzureAzure CDNBenefits Of CDNIncrease Website Performance With Azure CDNWhy to use CDN
Previous Article

Fix for 404 ResourceNotFound Error After Uploading ...

Next Article

Upload Contents To Azure Container, CDN in ...

0
Shares
  • 0
  • +
  • 0
  • 0
  • 0

SibeeshVenu

I am Sibeesh Venu, an engineer by profession and writer by passion. Microsoft MVP, Author, Speaker, Content Creator, Youtuber, Programmer.

Related articles More from author

  • Azure

    Why Not Secure Your Keys and Secrets? Asp Net Core with Azure Key Vault Integration

    November 18, 2020
    By SibeeshVenu
  • Azure

    Azure CDN with Azure Web App – Access to Font at CDN has been Blocked by CORS Policy

    August 14, 2020
    By SibeeshVenu
  • AngularAzureCognitive Services

    Using Azure Cognitive Service Computer Vision AI to read text from an image

    April 4, 2019
    By SibeeshVenu
  • Blob Service In Portal
    Azure

    Upload Images To Azure Media Service From Client Side

    June 30, 2016
    By SibeeshVenu
  • Back Up And Restore Your Old MySQL Database to New Database
    AzureDatabaseMySQLVirtual Machine

    Back Up your ClearDB and restore in Azure Virtual Machine MySQL

    September 18, 2015
    By SibeeshVenu
  • Azure

    Linux Azure Function Isolated Dot Net 9 YAML Template Deployment

    April 27, 2025
    By SibeeshVenu
0

My book

Asp Net Core and Azure with Raspberry Pi Sibeesh Venu

YouTube

MICROSOFT MVP (2016-2022)

profile for Sibeesh Venu - Microsoft MVP

Recent Posts

  • Linux Azure Function Isolated Dot Net 9 YAML Template Deployment
  • Build, Deploy, Configure CI &CD Your Static Website in 5 mins
  • Easily move data from one COSMOS DB to another
  • .NET 8 New and Efficient Way to Check IP is in Given IP Range
  • Async Client IP safelist for Dot NET
  • Post Messages to Microsoft Teams Using Python
  • Get Azure Blob Storage Blob Metadata Using PowerShell
  • Deploy .net 6 App to Azure from Azure DevOps using Pipelines
  • Integrate Azure App Insights in 1 Minute to .Net6 Application
  • Azure DevOps Service Connection with Multiple Azure Resource Group

Tags

Achievements (35) Angular (14) Angular 5 (7) Angular JS (15) article (10) Article Of The Day (13) Asp.Net (14) Azure (65) Azure DevOps (10) Azure Function (10) Azure IoT (7) C# (17) c-sharp corner (13) Career Advice (11) chart (11) CSharp (7) CSS (7) CSS3 (6) HighChart (10) How To (9) HTML5 (10) HTML5 Chart (11) Interview (6) IoT (11) Javascript (10) JQuery (82) jquery functions (9) JQWidgets (15) JQX Grid (17) Json (7) Microsoft (8) MVC (20) MVP (9) MXChip (7) News (18) Office 365 (7) Products (10) SQL (20) SQL Server (15) Visual Studio (10) Visual Studio 2017 (7) VS2017 (7) Web API (12) Windows 10 (7) Wordpress (9)
  • .NET
  • Achievements
  • ADO.NET
  • Android
  • Angular
  • Arduino
  • Article Of The Day
  • ASP.NET
  • Asp.Net Core
  • Automobile
  • Awards
  • Azure
  • Azure CDN
  • azure devops
  • Blockchain
  • Blog
  • Browser
  • C-Sharp Corner
  • C#
  • Career Advice
  • Code Snippets
  • CodeProject
  • Cognitive Services
  • Cosmos DB
  • CSS
  • CSS3
  • Data Factory
  • Database
  • Docker
  • Drawings
  • Drill Down Chart
  • English
  • Excel Programming
  • Exporting
  • Facebook
  • Fun
  • Gadgets
  • GitHub
  • GoPro
  • High Map
  • HighChart
  • How to
  • HTML
  • HTML5
  • Ignite UI
  • IIS
  • Interview
  • IoT
  • JavaScript
  • JQuery
  • jQuery UI
  • JQWidgets
  • JQX Grid
  • Json
  • Knockout JS
  • Linux
  • Machine Learning
  • Malayalam
  • Malayalam Poems
  • MDX Query
  • Microsoft
  • Microsoft ADOMD
  • Microsoft MVP
  • Microsoft Office
  • Microsoft Technologies
  • Microsoft Windows
  • Microsoft Windows Server
  • Mobile
  • MongoDB
  • Monthly Winners
  • MVC
  • MVC Grid
  • MySQL
  • News
  • Node JS
  • npm
  • Number Conversions
  • October 2015
  • Office 365
  • Office Development
  • One Plus
  • Outlook
  • Page
  • PHP
  • Poems
  • PowerShell
  • Products
  • Q&A
  • Raspberry PI
  • React
  • SEO
  • SharePoint
  • Skype
  • Social Media
  • Software
  • Spire.Doc
  • Spire.PDF
  • Spire.XLS
  • SQL
  • SQL Server
  • SSAS
  • SSMS
  • Storage In HTML5
  • Stories
  • Third Party Software Apps
  • Tips
  • Tools
  • Translator Text
  • Uncategorized
  • Unit Testing
  • UWP
  • VB.Net
  • Videos
  • Virtual Machine
  • Visual Studio
  • Visual Studio 2017
  • Wamp Server
  • Web API
  • Web Platform Installer
  • Webinars
  • WebMatrix
  • Windows 10
  • Windows 7
  • Windows 8.1
  • Wordpress
  • Writing

ABOUT ME

I am Sibeesh Venu, an engineer by profession and writer by passion. Microsoft MVP, Author, Speaker, Content Creator, Youtuber, Programmer. If you would like to know more about me, you can read my story here.

Contact Me

  • info@sibeeshpassion.com

Pages

  • About
  • Search
  • Privacy Policy
  • About
  • Search
  • Privacy Policy
© Copyright Sibeesh Passion 2014-2025. All Rights Reserved.
Go to mobile version