Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

static content on separate domain


Reply


4 Posts   964 Views

Avatar
iri

Community Member, 2 Posts

26 March 2011 at 3:04am

hello all

i'd like to know if it is possible to set up my static content (images, css, pdf's etc) to be on the separate domain, different from on which the silverstripe installation remains. say amazon cloud.

Avatar
Willr

Forum Moderator, 5513 Posts

27 March 2011 at 1:47pm

CDN / multiple domain support isn't in core. Though with your CSS / JS files you could link to the absolute path in the cloud rather than on your site and that'll work fine. Getting assets to work on the other domain won't work unless you alter the File class.

Avatar
iri

Community Member, 2 Posts

29 March 2011 at 3:38am

thank you very mucn WIllr

Avatar
eckstac

Community Member, 1 Post

18 January 2012 at 1:44am

Willr - is it possible to override the behaviour of the File class without editing core?

Or... is multi-domain support going to be introduced in version 3.0 ?

Thanks in advance.