Jump to:

4952 Posts in 14381 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Separate domains for CMS and website

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: 340 Views
  • Jare
    Avatar
    Community Member
    4 Posts

    Separate domains for CMS and website Link to this post

    Hi,

    I'm planning to host multiple websites that use SilverStripe. I have this kind of setup in my mind:

    - Each website has its own domain, like website1.tld, website2.tld etc...

    - CMS's are located at https://cmsdomain.tld/website1 and cmsdomain.tld/website2 etc...

    The reason for this is that I want to use https for the CMS, but I don't want to buy separate SSL certificates for all the websites.

    I have already tried this and it's kind of working, but need some finishing. For now, the CMS login URL's are like this: https://cmsdomain.tld/website1/admin, and if I go to https://cmsdomain.tld/website1, it will obviously show the website, which is not the purpose. Well, I think I can resolve this particular problem by using mod_rewrite in .htacess.

    The actual problem is that in the page editor the CMS shows that a page's URL begins with cmsdomain.tld. Is there a way to define the website's domain excplicitly so that it's not automatically taken from the CMS URL? I know the page structure works (menu links on the website works) because the URL's are correct in the actual website (website1.tld), but I would like to have correct URL's also in the CMS.

    Also, I'm not sure if this kind of setup causes any other problems, so if something comes to your mind, please let me know.

    Thank you for your support! I'm new to SilverStripe, but as I've been discovering it for over a week now, it looks very promising! One of the most important things is the simpliness of the UI.

    340 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.