Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

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

Subsite module, DNS configuration


Go to End
Reply


19 Posts   6372 Views

Avatar
TF-35Lightning

Community Member, 137 Posts

11 May 2010 at 8:20pm

Edited: 11/05/2010 8:45pm

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?

Avatar
SS_Learner

Community Member, 18 Posts

3 January 2013 at 6:21pm

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

Avatar
isolated

Community Member, 28 Posts

30 January 2013 at 6:34am

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)

Go to Top