Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » static content on separate domain

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

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

Page: 1
Go to End
Author Topic: 924 Views
  • iri
    Avatar
    Community Member
    2 Posts

    static content on separate domain Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: static content on separate domain Link to this post

    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.

  • iri
    Avatar
    Community Member
    2 Posts

    Re: static content on separate domain Link to this post

    thank you very mucn WIllr

  • eckstac
    Avatar
    Community Member
    1 Post

    Re: static content on separate domain Link to this 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.

    924 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.