Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » multisites possible?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Go to End
Author Topic: 17886 Views
  • josemv
    Avatar
    Community Member
    4 Posts

    multisites possible? Link to this post

    Hi,

    I started to play right now with SilverStripe, going thru the tutorials and looks very promissing.

    Does possible manage several websites, different domain names, from the same set of code? The idea is keep as simple as possible to maintain many sites. Those sites would have different contents and use different templates, if possible also could have different admin and users.

    Thanks
    Jose

  • UncleCheese
    Avatar
    4085 Posts

    Re: multisites possible? Link to this post

    I have about 15 clients all running on the same SS codebase. Really easy to do...

    -Somewhere above the web root create a silverstripe directory. I use /var/ss.

    -In that directory, put sapphire, jsparty, and cms.

    -Now, in your virtual host directory, just have the mysite folder and assets.

    -Create symbolic links for sapphire, jsparty, and cms.

    -Edit the .htaccess to include FollowSymLinks on (might want to check that spelling).

    -Make sure the directives for your virtual host have an open_basedir restriction for /var/ss lifted.

    Works great. Huge timesaver, and much, much cleaner. Especially if you're using source control. Let me know if you have any questions.

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: multisites possible? Link to this post

    The other thing that you might find useful is the subsites module:
    http://www.silverstripe.org/subsites-module/

  • josemv
    Avatar
    Community Member
    4 Posts

    Re: multisites possible? Link to this post

    Hello,

    I don't know yet the whole SilverStrip terminology to understand in detail UncleCheese suggestion.

    Sam I've found before that post, but I was not sure if that its only for subdomains within one domain or could be used for several domains: abc.com, xyz.net, 123.org... Does possible?

    Thanks to both
    Jose

  • josemv
    Avatar
    Community Member
    4 Posts

    Re: multisites possible? Link to this post

    Hello,

    I created a couple of subsites in the way: testSite and testSite2

    I'm following instructions here:
    http://doc.silverstripe.com/doku.php?id=modules:subsites

    At this point it said...

    Once you have created and saved your new subsite, go back to the Site Content section. In the top-right, there should be a dropdown listing the two subsites - “Main site” is the original site that you had before you installed the subsites module. Select your new subsite, and the site content tree will be updated. It should be empty at this stage.

    But I don't see any dropdown list of subsites at any place in Site Content.

    Thanks
    Jose

    By the way am working under Vista with WAMP.

  • UncleCheese
    Avatar
    4085 Posts

    Re: multisites possible? Link to this post

    The subsites module doesn't serve the purpose that you're looking for. It's designed to support different site views, but shared content and assets. You're talking about hosting many different unrelated sites.

    If you have SSH access to your box, the way I mapped out for you is fairly easy. I can write out all the unix commands for you if you want.

    ohh.. you're on windows.. hmm.. never mind. Well, when you get it off your local machine and up to a Linux box, you can do it.

  • josemv
    Avatar
    Community Member
    4 Posts

    Re: multisites possible? Link to this post

    Hi UncleCheese,

    I'm doing testing on my laptop, but could move onto a linux server. Production server will be linux.

    If you give a more detailed approach would help me a lot.

    Thanks in advance
    Jose

  • PerryM
    Avatar
    Community Member
    7 Posts

    Re: multisites possible? Link to this post

    Hi, I currently use Drupal and have 200 web sites using one installation of Drupal and one mySQL.

    I use Site5 to host my sites.

    It takes about 30 seconds to set up a new web site and there is never any problems with intermixing other web sites.

    Can SS do this?

    I don't speak Geek and would love a dumbed down version of how to do this on SS.

    Thanks for any help,

    Perry

    17886 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
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.