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;
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 ?