How do I Integrate My Website with CDN Services?

A Content Delivery Network (CDN) is a large distributed system of servers deployed in multiple datacenters that serve static web content rapidly to users by duplicating the content on multiple servers. CDN technology allows your website’s content to be accessed from the closest geographical location of the request that ensures instant and fast accessibility of static content.

How do I Integrate My Website with CDN Services?


Suppose you have an image in your website and you wish to integrate CDN with it, you will have to make changes in your website code as mentioned below.

[Existing image path]

<img src= "ORIGIN-URL/images/logos/image.jpg" alt="" />

Now, you will have to update image path in code like following:

<img src= "CDN-URL/images/logos/image.jpg" alt="" />

Let’s see an example:

Your domain is mydomain.com and existing image path is following:

<img src="http://mydomain.com/images/logos/image.jpg" alt="" />

If you want to serve this image from the CDN Hosting, you will have to change the image URL as follows:

<img src="http://cdn.mydomain.com/images/logos/image.jpg" alt="" />

You can refer following knowledge-base articles if you want to integrate CDN Hosting with Joomla, WordPress websites.

https://manage.accuwebhosting.com/knowledgebase/994/How-to-integrate-CDN-with-Joomla.html

https://manage.accuwebhosting.com/knowledgebase/993/How-to-integrate-CDN-with-WordPress.html


  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

My website is hosted with other hosting provider. If I purchase CDN Hosting from you, do I need to transfer my hosting?

No. You do not need to change your hosting provider, if you purchase CDN Hosting from us. You...

What will be the percentage increase in average page load?

CDN improves the speed of delivery of the static content. Improvement cannot be counted in terms...

I am looking for CDN targeted to the US market. How is your service performance in USA?

For US targeted websites, we have more than 30 POPs in various locations throughout the Country....

How to enable CDN resource for SSL enabled general websites?

This article covers the steps to create a CDN Resource for your SSL enabled general website. If...

How can I check from which location do you serve my traffic?

Use any of these tools: Just Ping your CDN Hostname from the command prompt for Windows, and...