Skip to content

Sakura Index

Welcome to Sakura Index: Where You Find Anime Icons, Themes, Reviews, Gadgets, and More!

Menu
  • Home
  • Anime
    • Seasonal Anime Lineup
  • Desktop Goods
    • Anime Folder Icons
    • Wallpapers
    • Browser Themes
    • Image Packs
    • Facebook Cover Photos
  • JP
  • About
  • Support us
  • minitaku Store
Menu

Configuring my own CDN

Posted on 1 October 20112 October 2011 by Crosse

Update

I’ve been totally inactive in the site for the past two to three months, and this was due to some heavy stuff being done over at my day job. ^^;

That aside, I’ve finally found some time to tinker around in the site. And since this WP installation is on a shared hosting environment, I’ve begun to feel the gradual sluggishness of the site’s loading times every time I visit. It isn’t supposed to be that anyway, since the most number of views I get on a single day is at most 70.Why the site loads slow is most likely caused by the simple fact that WP is a CMS, and CMS’es by far are slow to load.

Wordpress Site

And to add to the problem, the server where the site’s hosted is on a shared hosting service, which is probably something that will slowdown from time to time.

Hosting on Shared

So yep, It’s on a shared server on FC2’s Rental Server service.

One thing I thought of was to setup a simple CDN or Content Delivery Network function in the blog, so that I can host the static files such as images, videos and java code over on a separate server that would load these content faster.

So I downloaded and installed the W3 Total Cache plugin in WordPress, since it’s the only plugin that has caching and CDN a part of it already.

First thing I considered was to use my existing IIS7 webserver with output caching and compression enabled. So I created a hostname for the static server.

DNS Entry

Once done I went over and connected to Homura via remote desktop and set up the subdomain, settings and folders needed.

My IIS7 Manager

I enabled a bunch of caching options in the settings at Output Caching, and also in the Compression Settings. Since this was a static folder, I disabled script execution and writing at the Modules settings for en even faster loading time.

After which I went back to my WP installation, and enabled each setting, one by one.

W3 Total Cache Settings

A lot of warning messages came up about making sure that the proper settings were enabled or else it’ll lock my site, so I made sure that most of the recommended settings were used before I enabled them, except for the CDN setting since this needed additional settings for connecting to the CDN site.

And there was the option of previewing the changes that I’ve made.

Preview mode

This actually made things easier.

Next is that I entered the details of the CDN site.

Static Settings

Many of the stuff here’s basic, so I just input all of the login details of the static server.

Then tested the settings.

Testing the Settings

Once these have passed, I uploaded all content by clicking on the upload buttons by the side of the target content.

What to host in the CDN

I checked the setting, then uploaded the files.

Once all files were uploaded, I then enabled them over at the main settings.

Enabling the CDN setting

Once enabled, I checked the site; sure enough, the files are all now at the static site.

static URL

Which made my site load a tad bit faster than before.

HTTP Watch Results

Used HTTP Watch to test the site.

The HTTP Watch log file if you’re interested. You can view the log file by downloading the HTTP Watch studio package.

With this, I have successfully integrated a WordPress installation which was hosted on an Apache Shared hosting service with a static CDN with compression and caching on an IIS7 server. Surprising how these two work actually, since Apache and IIS7 are from two different OSes. And that IIS7 worked well with Filezilla FTP.

So you might notice that the site has been loading a bit faster than before. 😀

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X

Like this:

Like Loading…

Comments

comments

  • 7
  • apache
  • caching
  • CMS
  • code
  • compression
  • Content
  • Deliver
  • FC2
  • images
  • Information
  • Internet
  • java
  • Network
  • output
  • Services
  • Setup
  • windows server
  • Wordpress
  • Ohooo, what do you think?Cancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    • Stupid Never Dies Available Now! See Julia’s Backstory Before Her Fatal Freezing in the Live-Action Launch Trailer
    • Football Manager 27 – Experience the Launch Preview Free Across PC Platforms from October 30
    • SEGA Halloween Sale – Spooky Savings on the Yakuza Kiwami & Yakuza Kiwami 2 Bundle and Persona 3 Reload
    • Football Manager 27 Feature Deep Dive on Manager Creator, Newgens, and Accessibility Now Available
    • STRANGER THAN HEAVEN – Follow Makoto Daito’s Beginnings in the Kokura Story Trailer
    • October 2026
    • September 2026
    • August 2026
    • July 2026
    • June 2026
    • May 2026
    • April 2026
    • March 2026
    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • May 2022
    • March 2022
    • January 2022
    • October 2021
    • September 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • January 2020
    • April 2019
    • March 2019
    • August 2018
    • June 2018
    • July 2017
    • May 2017
    • January 2017
    • December 2016
    • October 2016
    • September 2016
    • July 2016
    • May 2016
    • March 2016
    • February 2016
    • January 2016
    • November 2015
    • August 2015
    • April 2015
    • February 2015
    • January 2015
    • December 2014
    • October 2014
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • April 2014
    • March 2014
    • February 2014
    • January 2014
    • December 2013
    • November 2013
    • October 2013
    • September 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • April 2013
    • March 2013
    • February 2013
    • January 2013
    • December 2012
    • November 2012
    • October 2012
    • September 2012
    • August 2012
    • July 2012
    • June 2012
    • May 2012
    • April 2012
    • March 2012
    • December 2011
    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    October 2026
    M T W T F S S
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
    « Sep    
    ©2026 Sakura Index | Design: Newspaperly WordPress Theme
    %d