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.

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.

General Questions /

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

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

Fix 500 Internal Server Error for subdomain using htaccess


Go to End


3 Posts   1156 Views

Avatar
VPull

Community Member, 58 Posts

11 April 2015 at 8:31pm

Hello,
This is the first time I am trying to create sub domain which gives me 500 error. How to resolve it?
Before installation of silverstripe both (main and sub domain) works perfectly.

Avatar
wmk

Community Member, 87 Posts

11 April 2015 at 8:50pm

Hi VPull,

creating subdomains can be tricky the first time and it depends on the Server OS, the webserver and the current configuration.

Without more information about your webserver it's really hard to help you with this. Can you tell us:

* what server OS you're using, linux, windows, which distribution (debian etc..) and version,
* what webserver you're using (apache, nxinx, etc..)
* some more info / config pastes on how you created the main domain and the subdomain (virtualhost?)

Cheers, wmk

Avatar
VPull

Community Member, 58 Posts

11 April 2015 at 9:15pm

Thanks wmk,

Sub domain is created directly from cpanel as I have limited access permission. I am looking for updated htaccess code to resolve the issue.
1. Server OS is Linux
2. Web server is Apache 2.2.29