What is CDN Hosting?
Your media-rich website can benefit from a content delivery network (CDN), which copies your content and optimizes delivery for the best speed, usability, and performance possible.
A CDN is a network of servers all over the world which are set up to cache a copy of your website and then deliver this copy to your website visitors for faster loading.
The Problem: Slow Loading Websites
Websites with a lot of changing content and heavy media on them can take a long time to load. This is an issue because you don’t want to lose valuable site visitors to a slow-loading web page.
Solution: CDNs Can Boost Page Load Times
So, what’s the solution for this? Other than ramping up the performance of your web hosting by switching to a higher hosting tier, you can use a content delivery network (CDN) to boost page load speeds on your site.
Types of Content Cached on a CDN
CDNs typically cache static content. Static content is anything that is fixed on your websites like headers, main content, videos, and images. Dynamic content, or content that is ever-changing, can load much faster as a result. Some CDN systems will also cache the dynamic content of your website.
How Does a CDN Work?
In a nutshell, a content delivery network (CDN) copies all your website content — text, images, video files, etc. — and delivers it to your website visitors on your behalf in a more efficient way.
What Are Edge Servers?
A CDN duplicates your Web content and stores it across many servers at points of presence (POPs) along an Internet network. These servers are called “edge servers.”
How Do They Work?
When someone visits your website, your CDN will then send your content to them from the edge server that will provide optimal delivery. Often the optimal server is the one that’s located closest geographically to the user, since the closer the server is, the faster the data will reach them. But this isn’t always the case; if the closest server is already at capacity, the CDN will choose another server that has the highest availability.
Understanding CDN Functions
To understand exactly what happens with a CDN, you need a general understanding of how web pages are delivered when you click a link or enter a URL online.
When someone clicks a link to open a web page, their web browser makes a request to the server. This is called a DNS request. The browser provides the domain name to the DNS server. The DNS server will then look up the domain name in its records to find the matching IP address, much like looking up a number in a phone book.
Then, the browser will receive the IP address of the server where the website is being stored. The browser connects the user’s computer with the server so it can get access to the website they requested.
DNS Requests on a CDN
When a DNS request is made for a domain name on a CDN, the DNS server looks for the closest geographical server to the user’s IP address and then provides the IP address of the closest edge server. So, the browser will receive website content from the edge server instead of the origin server where the website is actually hosted.
Benefits of Using a CDN
When a CDN is in place, each visitor to your website receives the content from the optimal server in a network, instead of from a single server which might be located far away or overloaded.
This system provides a number of benefits for any website, but especially for media-rich sites:
- Improved site performance: Using the optimal server to deliver your Web content improves site performance and usability for users who are doing things like streaming video.
- Reduced buffering and latency: Using a CDN keeps your site users from waiting around for content, such as images and videos, to load. Buffering and latency, especially with video and e-commerce, is minimized or eliminated.
- Reduced traffic spikes: It reduces or eliminates the effects of traffic spikes on the user experience of your site.
- Reduced downtime: CDN hosts can keep your sites online by delivering cached pages in the event of downtime.
- Added security: The duplication and distribution of data provides you an extra level of security: If a natural disaster takes out a group of servers in one area, your data will still be available from the servers in other areas.
- Improved analytics: Tracking how edge servers are used in a CDN can also provide valuable analytics on visitor activity that can lead to a better user experience.
Additional Benefits of Using a CDN
Even without all the above benefits, using a CDN can be worth it just for the speed boost alone. Reducing loading times on your website, even by just a few seconds, can lower your bounce rate, improve your search engine rankings, and increase conversions.
These benefits are also especially important to e-commerce websites. If your customer has to wait too long, they may navigate away without completing a purchase.
Do You Need a CDN?
Individual bloggers and small bricks-and-mortar businesses without e-commerce may not see any benefit from a CDN.
Sites that deliver rich media content and those with e-commerce could decrease loading times and increase conversion rates by employing a CDN. You should consider using a CDN if:
- Your website depends on displaying a lot of images.
- You offer video or audio streaming.
- You run an income-generating website where revenue is affected by speed and uptime, such as an e-commerce site.
- You run an e-commerce site that experiences peak traffic periods, such as Black Friday.
- You need faster loading times for your website for any reason.
CDN Hosting Plans
With the popularity of CDNs increasing, many hosts offer CDNs included with their hosting plans in order to stay competitive. Many CDN hosting plans are cloud-based, using virtual servers, which is well-suited to sites that have traffic spikes and lots of media because typically, cloud hosting resources are instantly scalable.
Purchasing a Standalone CDN
You may also purchase a CDN service separately if it doesn’t come with your chosen hosting plan. Many brands of CDNs are available, some open source, others commercially licensed. They also vary in features. For example, some CDNs only allow for static content while others include dynamic content, as well. As such, the cost varies widely.
Public CDN Services
A public CDN is completely free and is commonly used by web developers hosting open source projects. Some public CDN providers include jsDelivr, cdnjs, and Microsoft Ajax CDN.
Dedicated CDN Services
You’ll likely get access to a CDN through your web host provider. But if you don’t, you can get use a dedicated CDN provider for this service instead. There are many options out there. We’ve compared three popular choices:
|Amazon CloudFront||CloudFlare CDN||Akamai|
|Best For||Used by developers.||Used by individuals and small to medium-sized businesses. This is most commonly included in hosting plans.||Used by the biggest websites. Most popular CDN provider.|
Has the smallest coverage out of these three providers. They operate 69 server locations around the world.
|CloudFlare has 118 data centers all over the world.||Akamai has the biggest distribution of CDN servers in the world, with servers in over 120 countries.|
Amazon CloudFront has cheaper pricing options for individuals. Amazon uses a pay-as-you-go system which lets you only pay for what you use. Amazon also has a free usage tier that you can use for one year.
|The company has monthly plans on flat pricing for their customers with options for individuals, small businesses, and enterprises. Personal websites can use their free tier to get a CDN at no cost.||
The price of a CDN with Akamai is not displayed on their website. Instead, customers must get in contact with them to develop a contract for their specific company’s needs. Their services are designed for much larger companies, not individuals or small businesses.
Their CDN supports caching of dynamic content, not just static content. And, you’ll have access to caching statistics reports.
Cloudflare includes DDoS protection, site analytics, and they give you 24/7 support on their most expensive paid plan. Enabling the Cloudflare CDN is easy.
Caches dynamic content as well as static content. Includes advanced security, 24/7 support, as well as features for software and digital download delivery.
Built-In CDN Services
Web hosting plans will usually include the Cloudflare CDN. But some will use SiteLock’s TrueSpeed CDN instead. TrueSpeed also has a large global presence and can even cache dynamic content as well as static content.
One of the best things about TrueSpeed is that you can manually purge the cache from your website. This is really useful if you’re updating your website and you want your site content to be updated instantly all over the world.
How to Enable a CDN from Your Web Hosting Provider
If a CDN is included with your web hosting plan, you’ll usually have to enable it yourself. You can do this pretty easily from the control panel in your hosting account. Though the layout of the control panel will differ from company to company, the process should be similar:
- Log into your web hosting account on your hosting provider’s website.
- Navigate to a tab or section in your control panel where you CDN application might be. You might find this under Site Improvement Tools, Services, Features, Optimize Website or Hosting.
- Select the CDN provider that comes with your hosting, which is most likely Cloudflare.
- Click Enable to activate your CDN.
- Your website content will now be cached on a network of global servers.
Points to remember
There are a number of points to remember when purchasing CDN Hosting:
- CDN’s solve the problem of latency: the amount of time it takes for a web page to load.
- A CDN will reduce your bandwidth usage.
- A CDN will not always help with page load time issues. For example, if your website users are mostly local and you’re hosting your website on a local server.
- The performance of a CDN will vary greatly. Performance fluctuates with the amount of traffic on the CDN, server outages, and the reach of the CDN’s coverage.
- A CDN alone is not the most effective way to increase the load time of your website. You should also engage in front-end optimization to help your websites load more efficiently.
- Your hosting service also plays a large role in how fast your website content will load.
- CDNs also help the performance of page loading on mobile websites, but not by as much as they do for desktop websites.
My Top 3 CDN Hosting Services
If you’re planning on putting up a media-heavy website and you want to take advantage of a CDN, it can be a little intimidating trying to narrow down your list of potential hosts. Here are the three hosts I’d recommend you take a look at.
Siteground CDN Hosting
Every one of SiteGround’s plans includes a free CDN from Cloudflare. This company consistently provides flawless hosting for all kinds of websites. If you like customer support, then you’ll be more than satisfied with SiteGround’s 24/7 team.
Their hosting includes unlimited email accounts, free SSL certificates, and a free daily backup to keep your website files safe. Always a winner for cheap, quality web hosting, we recommend SiteGround for your CDN host.
A2 Hosting CDN Hosting
A2 Hosting is another winner when it comes to price. Their plans also include a Cloudflare CDN. All it takes to enable your CDN with A2 is one click of the Cloudflare button in your control panel. We love that A2 has optional Turbo Servers to boost website speeds 20 times.
Like SiteGround, their plans include free SSL certificates and 99.9% uptime guaranteed.
LiquidWeb CDN Hosting
For powerful hosting with an included CDN, check out LiquidWeb . They don’t really have options that are realistic for individuals or small businesses. Instead, their hosting environment is perfect for mission-critical projects and larger companies. They give you 100% uptime with cloud VPS and dedicated servers. They have fully managed to host with root access as well.
LiquidWeb is the best choice for full power and control if you have the money for it.