---
title: Create Your Own Content Delivery Network
description: Content delivery networks (CDNs) can be extremely useful for a number of reasons, primarily because ...
image: https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-23-2023-12-20-23-1553-AM-4-3-May-01-2023-08-25-50-8939-PM.png
---

[Log In](https://www.websitemagazine.com/_hcms/mem/login) [Subscribe](https://websitemagazine.tradepub.com/free/w_webk05/prgm.cgi)

[![Website Magazine Logo](https://www.websitemagazine.com/hs-fs/hubfs/gradient-regular@3x-1.png?width=586&height=145&name=gradient-regular@3x-1.png "Website Magazine Logo")](http://Website%20Services,%20Inc.)

- [About](https://www.websitemagazine.com/about) 
    - [FAQs](https://www.websitemagazine.com/about/faq)
    - [Advertise](https://www.websitemagazine.com/about/advertise)
    - [Editorial Staff](https://www.websitemagazine.com/about/editorial-publishing-staff)
- [Resources](https://websitemagazine.tradepub.com)
- [Newsletter](https://www.websitemagazine.com/newsletter-sign-up)
- More 
    - [Contact Us](https://www.websitemagazine.com/contact)

[Log In](https://www.websitemagazine.com/_hcms/mem/login) [Subscribe](https://websitemagazine.tradepub.com/free/w_webk05/prgm.cgi)

Search

- [Latest](https://www.websitemagazine.com)
- [Design](https://www.websitemagazine.com/web-design)
- [Development](https://www.websitemagazine.com/web-development)
- [SEO](https://www.websitemagazine.com/seo)
- [Ecommerce](https://www.websitemagazine.com/ecommerce)
- [Content](https://www.websitemagazine.com/content)
- [Marketing](https://www.websitemagazine.com/marketing)
- [Advertising](https://www.websitemagazine.com/advertising)
- [Email](https://www.websitemagazine.com/email)
- [Infographics](https://www.websitemagazine.com/infographics)
- [View All Topics](https://www.websitemagazine.com/channels)

# Create Your Own Content Delivery Network

![Michael Garrity](https://www.websitemagazine.com/hubfs/Author%20Photos/Michael%20Garrity.jpg)

[by Michael Garrity](https://www.websitemagazine.com/content/author/michael-garrity) 01 Dec, 2012

- <https://twitter.com/share?url=https://www.websitemagazine.com/content/create-your-own-content-delivery-network>
- <https://www.facebook.com/sharer.php?u=https://www.websitemagazine.com/content/create-your-own-content-delivery-network>
- [mailto:?Body=https://www.websitemagazine.com/content/create-your-own-content-delivery-network](mailto:?Body=https://www.websitemagazine.com/content/create-your-own-content-delivery-network)
- Link Copied!

![Create Your Own Content Delivery Network](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-23-2023-12-20-23-1553-AM-4-3-May-01-2023-08-25-50-8939-PM.png)

**Content delivery networks (CDNs) can be extremely useful for a number of reasons, primarily because they provide end-users with faster load times, higher availability and more scalability. Unfortunately, they're also a costly investment and necessarily add a lot of complexity to a website's infrastructure.**

There are ways around that, however. If you've read our article on ["How to Use Content Delivery Networks,"](https://www.websitemagazine.com/blog/how-to-use-content-delivery-networks) you'll have seen just how easy it is to turn the Google App Engine into a sort of makeshift CDN. But even if you don't have a Google Apps account, you'll still be able to create your own CDN with a CNAME.

Although these homemade CDNs aren't going to perform quite as well as a professional solution, they're still a great temporary fix to slow load times or downtime problems. However, if your website continues its growth even after applying your own CDN, it may be time to consider looking elsewhere.

But for now, keep reading for a step-by-step guide on how make your own content delivery network by setting up a CNAME record and creating an alias for your static domain to use on your main domain.

  1. First, either come up with a subdomain of your main domain to use, or register a completely separate domain name.

  1a. If you're going to use a subdomain, go to your site's control panel and ensure that it points to the root folder of your main domain.

  2. Once your new domain or subdomain is established, go to your site's control panel and open up the DNS Zone Editor.

  3. Create a CNAME record. First, put the domain or subdomain you created in the Name/Label/Alias section of the CNAME record. If you use a subdomain, you need to make sure that your server or application only sets cookies for **www.yoursite.com**, rather than the top-level version of your site (i.e. **yoursite.com**).

  4. Make sure that your new domain or subdomain points back to your main domain.

  5. You MAY also need to select a time-to-live (TTL) value, which says how long your copy will remain in the CDN after it's copied from your main repository. This is measured in seconds, with 86400 seconds being equivalent to 24 hours. Sometimes your DNS will limit the maximum amount of time you can keep content in your CDN (often about 72 hours). (Hint: If your content changes often, use a shorter TTL, as updated files could take hours to change in a CDN, making it unavailable to users.)

  6. Hit "Edit Record" or "OK."

Now it's time to serve static content to your new location by modifying the references to your static files to point to your new CDN location. This means that your image locations will change from **https://www.yoursite.com/images/image.jpg** to your subdomain (e.g. **https://cdn.yoursite.com/images/image.jpg**) or new domain (e.g. **https://www.newdomain.com/images/image.jpg**).

You can do this by manually changing the location of each file, but if you're redirecting a lot of content, that can take a lot of time and effort. Another option is to use a plugin, such as W3 Total Cache, to enable your CDN. To do this:

  1. Check the box that says "Enable" (or something like that)

  2. Select "Mirror" as your CDN Type from the drop-down menu

  3. Go to "Settings" or "CDN Settings"

  4. Once in there, set the configuration parameters to replace the site's main domain with your new domain or subdomain (all other parameters can be left alone)

And there you have it! Understand that some of these steps may have to be altered based on your Web hosting provider or content management system, but this should provide a basic outline for how you can go about setting up your own CDN without shelling out too much money.

![Michael Garrity](https://www.websitemagazine.com/hubfs/Author%20Photos/Michael%20Garrity.jpg)

[Michael Garrity](https://www.websitemagazine.com/content/author/michael-garrity)

Michael Garrity, Director of Marketing for Francis Lofts & Bunks, is an accomplished writer with a rich background in marketing, communications, and community engagement. With expertise in content creation and management, marketing strategy, digital advertising, SEO, social media management, and proficiency in various tools including Microsoft Office, Adobe InDesign, and Adobe Photoshop, he is well equipped to deliver outstanding results. Holding a BA in English Literature from St. Joseph's College (IN), Michael graduated Summa Cum Laude with a 3.92 GPA, honing his strong communication skills. His diverse experience makes him a valuable asset to any team.

- <https://www.linkedin.com/in/michael-garrity-7b558531/>
- <https://michaelgarrity.tumblr.com/>

#### Popular Post

### [YouTube Gets a Makeover ![YouTube Gets a Makeover](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/youtube-logo-icon-3-2-2-1.png)](https://www.websitemagazine.com/content/youtube-gets-a-makeover)

### [47 Weblog Directories, Portals & Platforms ![47 Weblog Directories, Portals & Platforms](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/blogging-mini-Jan-22-2023-11-55-59-2412-PM-1-1-1.gif)](https://www.websitemagazine.com/content/47-weblog-directories-portal-and-platforms)

### [10 Tools for Better Website Testing ![10 Tools for Better Website Testing](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/tools-Jan-22-2023-11-55-07-0763-PM-1-1-1.jpg)](https://www.websitemagazine.com/content/10-tools-for-better-website-testing)

#### Subscribe to Our Newsletter!

[![](https://a.impactradius-go.com/display-ad/13053-1438301)](https://semrush.sjv.io/c/3976891/1438301/13053)![](https://imp.pxf.io/i/3976891/1438301/13053)

#### Latest in Content Marketing

[![The Magical Power of Corporate Storytelling](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/Storytelling-1.jpg) The Magical Power of Corporate Storytelling](https://www.websitemagazine.com/content/the-magical-power-of-corporate-storytelling) [![7 Tools to Automate Time-Consuming Marketing Tasks](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-22-2023-11-47-10-6379-PM-Apr-10-2023-01-18-17-2366-PM-Apr-25-2023-03-13-15-9120-AM-3.png) 7 Tools to Automate Time-Consuming Marketing Tasks](https://www.websitemagazine.com/content/7-tools-to-automate-time-consuming-marketing-tasks) [![The Art & Science of the PR Pitch](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-22-2023-11-51-00-6638-PM-Apr-10-2023-01-06-07-3033-PM-Apr-25-2023-03-09-45-6110-AM-May-01-2023-08-25-46-5720-PM.png) The Art & Science of the PR Pitch](https://www.websitemagazine.com/content/the-art-science-of-the-pr-pitch) [![3 Effective Content Marketing Strategies for Startups](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/content-marketing-Jan-22-2023-11-41-35-3200-PM-1-1-1.png) 3 Effective Content Marketing Strategies for Startups](https://www.websitemagazine.com/content/3-effective-content-marketing-strategies-for-startups) [![The Evolution of the Online Shopping Experience in Focus](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-22-2023-11-51-00-6638-PM-Apr-10-2023-01-06-07-3033-PM-Apr-25-2023-03-13-00-6878-AM-2.png) The Evolution of the Online Shopping Experience in Focus](https://www.websitemagazine.com/content/the-evolution-of-the-online-shopping-experience-in-focus) [![Gaining a Mobile Performance & Engagement Advantage](https://www.websitemagazine.com/hubfs/Imported_Blog_Media/sap-hybris_180x180-1-1-1-1.png) Gaining a Mobile Performance & Engagement Advantage](https://www.websitemagazine.com/content/gaining-a-mobile-performance-engagement-advantage)

[![gradient-regular@3x](https://www.websitemagazine.com/hs-fs/hubfs/gradient-regular@3x.png?width=128&height=128&name=gradient-regular@3x.png)](https://www.websitemagazine.com/)

999 E Touhy Ave,

Des Plaines, IL 60018

 

[info@websitemagazine.com](mailto:info@websitemagazine.com)

[(888) 7WEBMAG](tel:18887932624)

[(312) 313-6576](tel:13123136576)

About

- [Advertise](https://www.websitemagazine.com/about/advertise)
- [Editorial](https://www.websitemagazine.com/about/editorial-publishing-staff)
- [Contact Us](https://www.websitemagazine.com/contact)

Resources

Membership

- Login
- Subscribe

Signup for our newsletter

<https://www.linkedin.com/company/website-magazine/> <https://twitter.com/websitemagazine> <https://www.facebook.com/WebsiteMagazine> <https://www.instagram.com/websitemagazine/> <https://www.pinterest.com/websitemagazine/>

 © 2026 Website Magazine. All Rights Reserved

- [Privacy Policy](https://www.websitemagazine.com/about/privacy)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Michael Garrity",
    "url" : "https://www.websitemagazine.com/content/author/michael-garrity"
  },
  "dateModified" : "2023-05-01T20:28:04.033Z",
  "datePublished" : "2012-12-01T06:00:00.000Z",
  "headline" : "Create Your Own Content Delivery Network",
  "image" : [ "https://www.websitemagazine.com/hubfs/Imported_Blog_Media/gradient-regular-logo-mark-Jan-23-2023-12-20-23-1553-AM-4-3-May-01-2023-08-25-50-8939-PM.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.websitemagazine.com/content/create-your-own-content-delivery-network",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.websitemagazine.com/hubfs/gradient-regular@3x-1.png"
    },
    "name" : "Website Services, Inc."
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "NewsArticle",
  "author" : [ {
    "@type" : "Person",
    "name" : "Michael Garrity"
  } ],
  "headline" : "Create Your Own Content Delivery Network",
  "publisher" : {
    "name" : "Website Magazine",
    "url" : "https://www.websitemagazine.com/"
  }
}
```