Jump to:

10848 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Multiple Seperate Domains with Subsites

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 3880 Views
  • keeny
    Avatar
    Community Member
    48 Posts

    Multiple Seperate Domains with Subsites Link to this post

    Hi guys,

    I have set up the subsites module and can get it working for sub1.domain.com, sub2.domain.com, etc. However, I don't know how to make it work for domain1.com, domain2.com

    I am unable to post to topics in the forum archive so I refer you to the post below... If willr is out there, I'd appreciate any help!

    Thanks,

    Barry

    --------

    In the following post: http://www.silverstripe.org/archive/show/105773?start=8

    on: 26 June 2008 at 9:58pm

    willr writes:
    The subsites module is probably what you are looking for. You can use the 1 CMS to manage multiple sites. For a real world example we have recently done is the epmu.org.nz site. This site uses the subsites module to control the http://www.workrights.org.nz/. You can also create, manage as many subsites as you want and set custom themes.

    As to the state of it for 'general' release, It has no documentation and has had no public releases as of yet (only used on a few internally done sites) so its probably in the 'risky' to use category!

  • Sam
    Avatar
    Administrator
    679 Posts
  • phoenix
    Avatar
    Community Member
    1 Post

    Re: Multiple Seperate Domains with Subsites Link to this post

    Hi Sam,

    I installed subsites and managed successfully subdomains. But I want to manage also Second Level Domains like keeny. So I set up mysite/_config.php with

    Subsite::set_allowed_domains(array(
    'com',
    'org',
    ));

    and created subsites like foo.com and foo.org with tiny "home" pages just to seperate them. But whatever I do, I see always the subsite defined as "Default Site" on booth foo.org and foo.com. What's my mistake?

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