• Resolved Nic Windley

    (@nisiwi)


    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

    (@nisiwi)

    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.