Title: [Plugin: W3 Total Cache] CDN replace hostname multiple CNAME&#039;s
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache] CDN replace hostname multiple CNAME's

 *  Resolved [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * (@nisiwi)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cdn-replace-hostname-multiple-cnames/)
 * Hello,
 * I’ve just implemented the W3 Total Cache CDN function using Amazon’s cloudfront.
 * However I don’t see all the CNAMES I’ve created being used and a couple of other
   problems so I’m wondering what I’ve done wrong ?
 * In the section;
 * “Replace site’s hostname with”
 * I have the following CDN hostnames configured in W3 Total Cache;
 * 1 cdn.css.mysite.com
    2 cdn.jshead.mysite.com 3 cdn.jsab.mysite.com 4 cdn.jsbb..
   mysite.com 5 cdn.mysite.com
 * My DNS is set to point all the hostnames above to mydomainid.cloudfront.net (
   this could be the problem).
 * I have also entered these CNAME’s into the Amazon cloudfronts distributions CNAME
   list.
 * However, I only ever see cdn.mysite.com being used for all files, CSS, JS etc.
 * I’ve also noticed a couple of problems:
 * 1) The .html plugin (which adds a .html extension to pages) causes the sites 
   pages to stop loading when used with the CDN, the same if I use .html in the 
   permalink structure. I removed this and everything works OK.
 * 2) Some images (some .png used in widgets) refuse to display on the site. I noticed
   that they had not been uploaded to the bucket, but even after a manual upload
   they don’t want to display. When importing attachments to the media library, 
   they are also never included for some reason ?
 * **EDIT** – I’ve fixed the image problem. Looks like it is missing from the media
   library, although the file is till there. I’ve add it again and it now works!!
 * Can somebody put me on the right track ?
 * Thanks,
 * Nic

Viewing 1 replies (of 1 total)

 *  Thread Starter [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * (@nisiwi)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cdn-replace-hostname-multiple-cnames/#post-1714763)
 * Think I’ve solved it. It seems that the minification settings were reset so its
   not calling any static combined files ?
 * Not that I’ve reset it (not sure why it as reset) different static files are 
   being pulled from different subdomains.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: W3 Total Cache] CDN replace hostname multiple CNAME's’ is closed
to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [CloudFront](https://wordpress.org/support/topic-tag/cloudfront/)

 * 1 reply
 * 1 participant
 * Last reply from: [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cdn-replace-hostname-multiple-cnames/#post-1714763)
 * Status: resolved