i've setup magento CE 18.104.22.168 on a webserver nginx on 12.04 ubuntu cloud server. i've change configuration in order to use cdn for media, skin and js but i have some issues. for instance i can't upload new images for the product. no error shown, but the link of image is broken. i've just started using magento so maybe i'm doing something wrong but can't figure out what.
Some elements of the image uploader and the wysiwyg content editor are served from within your ‘skin’ directory – which is now served from your CDN, and will start throwing cross domain errors.
The Unsecure URL settings configured in the default config (top left) in the admin section. Are global – they affect all the stores and the admin area. In order to disable the CDN on the admin, but keep it for the website, change the scope of your configuration to Main Website (top left), uncheck the ‘Use Default’ settings, and then add in the CDN urls.
So under Current Configuration Scope: Default config you should use ;
Under Current Configuration Scope: Main Website and default store view you should use
they should look like this
I’ve created Cname records to map to the cdn url’s (it’s neater) but you can just use the cdn urls if you prefer.
You can see a full explanation of the fix here
If you're using a different kind of CDN, please tell us what kind of extension you're using for that. For example OnePica