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?

 

If your website is https, please follow article Enable CDN resource for https Website
If your website is http, please follow article Enable CDN resource for http Website


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

Looking for CDN Hosting price details. Click on CDN > Pricing details for more details.

Looking for more details on CDN Hosting? Please click on CDN Hosting for more details. 

Looking to check edge location from where you are receiving the website traffic. Please refer to the check edge location for more details. 

Want to clear the cache from your CDN? Please refer to Clear CDN Cache for more details. 

Related Articles

What Static contents are included in CDN hosting?

Static contents included are Javascript files, Images, CSS files, Videos, Flashes and Audios....

How to integrate CDN with codeignator?

IMP : You can use the steps of this article if you have purchased the Accuwebhosting CDN Service....

If I purchase CDN from you, can I see my videos live at mobile with RTSP (Real Time Streaming Protocol)?

Yes, CDN content will be seamlessly distributed on your Mobile browsers. You can see Live videos...

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....

Is it possible to have more than one CNAMEs pointing at the same origin?

Yes, you do not need to create individual CDNs to have more CNAMEs for the same origin. Send us a...

  • 30 Users Found This Useful

Was this answer helpful?