4793 Posts in 1785 Topics by 1442 members
|Go to End|
26 July 2013 at 8:44pm
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.
|Go to Top|