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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Publish the site as subdomain


Reply


4 Posts   810 Views

Avatar
grumpypanda

Community Member, 32 Posts

9 February 2012 at 4:08pm

Edited: 09/02/2012 4:14pm

Hi there,

This is my first site built in Silverstripe, I have been developing the site locally (localhost) which has been working well, today I'm trying to publish it to a subdomain eg subdomain.mainsite.com.

I just moved all the code and database online and made a connection between the two, I got a 500 Internal Server error when trying to view the site.

Is there any special steps I should follow to install/publish SS site online? Can someone please describe the steps and appoint me to the right direction to fix the problem?

Any help is appreciated!!

Thank you,
Sam

Avatar
lerni

Community Member, 80 Posts

9 February 2012 at 9:04pm

Edited: 09/02/2012 9:16pm

hi sam

If you are on linux hosting I guess smth is wrong with .htaccess? probable wrong RewriteBase path? can you access your servers log?

lukas

Avatar
grumpypanda

Community Member, 32 Posts

10 February 2012 at 3:30pm

Hi Lukas,

Thanks very much for your reply. You are right it is the .htaccess file, somehow the RewriteBase path is pointing to the wrong one. Thanks for the direction.

For future reference, how/where can I access the servers log? cpanel somewhere?

Thanks a lot for you help.

Cheers
Sam

Avatar
lerni

Community Member, 80 Posts

10 February 2012 at 10:43pm

Heho Sam

Don't know where it is in cPanel but... there is a demo for cPanel... and there in i've found it under "Logs" -> "Error Log"

To deploy a site you could also run to the install process first and then upload the files like templates & /mysite/code ect & import DB-dump. This way the setup and requirements should be oky.

Lukas