4811 Posts in 1867 Topics by 1445 members
|Go to End|
9 February 2012 at 4:08pm Last edited: 9 February 2012 4:14pm
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!!
9 February 2012 at 9:04pm Last edited: 9 February 2012 9:16pm
If you are on linux hosting I guess smth is wrong with .htaccess? probable wrong RewriteBase path? can you access your servers log?
10 February 2012 at 3:30pm
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.
10 February 2012 at 10:43pm
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.
|Go to Top|