Jump to:

10849 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Subsite module, DNS configuration

Discuss all other Modules here.

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

Page: 1 2 3
Go to End
Author Topic: 5768 Views
  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    Re: Subsite module, DNS configuration Link to this post

    bennylope how would I got about setting that A Record exactly??? You mean to add a A record in the domain.

    say I've got a domain.com then on my gridservice I create a another directory test.domain.com create the html directory inside that, is that how you would set it up?

    Is that a .htaccess thing I need to set, or do I have to edit the domain or?

  • SS_Learner
    Avatar
    Community Member
    18 Posts

    Re: Subsite module, DNS configuration Link to this post

    Hi TF-35Lightning

    I read this post and found this is similar to what i am looking for.I m using my wamp server to point my subsite to subsite1.mysilverstripe.I have added the virtual host in the similar way u mentioned and the .htaccess thing.with which i can point the
    subsite1.mysilverstripe and mysilverstripe to the same home page...
    This is quite similar to what happened with u.
    Hope could help me...

  • isolated
    Avatar
    Community Member
    28 Posts

    Re: Subsite module, DNS configuration Link to this post

    i have similar problem:
    a subdomain is created and exists subdomain directory under root.
    Under this subdomain directory a .htaccess is created with:
       # Subsite rewrite
       RewriteCond %{REQUEST_URI} ^(.*)$
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{HTTP_HOST} ^subdomain.domain.ltd$
       RewriteRule .* framework/main.php?url=subdomain&SubsiteID=1&%1 [L]

    subsiteID=1, instead subdomain/domain have actual values.
    Any ideas whould be welcome (it is ss3)

    5768 Views
Page: 1 2 3
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.