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   934 Views

Avatar
iri

26 March 2011 at 3:04am Community Member, 2 Posts

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

27 March 2011 at 1:47pm Forum Moderator, 5511 Posts

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

29 March 2011 at 3:38am Community Member, 2 Posts

thank you very mucn WIllr

Avatar
eckstac

18 January 2012 at 1:44am Community Member, 1 Post

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.