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 and existing image path is following:

<img src="" alt="" />

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

<img src="" alt="" />

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

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Do I need to change the DNS if I want to use CDN service?

No, you don’t need to change your site's DNS for CDN hosting. You just need to add a CNAME record...

Does CDN service automatically cache my static files?

Yes, our edge servers will store your website static contents automatically.  If you have set...

Is CDN free of cost service?

No, CDN Hosting is chargeable product service.

Where can I get detailed CDN pricing?

Our CDN World plan is $3.95/month + $1.00 setup fee for 10 GB bandwidth [Also, First Month Free...

I have one website that is targeted for the entire United States and one website targets only California. Will CDN work for me?

CDN will be helpful to both the websites. For California targeted website, "static content" will...