What could be the problem? My browser gives ERR_TOO_MANY_REDIRECTS when trying to access http://subdomain.domain.com, but if using http://subdomain.domain.com/page everything works fine.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Anyone?
1. I have added domain sub.domain.com to subsites.
2. I hava added ServerAlias sub.domain.com to VirtualHost
I assume that VirtualHost configuration is working, because if I remove that subdomain from SilverStripe configuration, sub.domain.com opens the main page, but if I add the domain to subsites configuration again, I get this error ERR_TOO_MANY_REDIRECTS.
Well, I figured it out myself :D "Homepage" of subsite has to named "home", anything else gives this redirection error.
Thanks for taking the time to post your solution!
I'd add that the url segment needs to be 'home'. Page name can be something else.
Thanks your Solution is valuable for me.I am suffering same problem from last few days.