Jump to:

4875 Posts in 6997 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Publish the site as subdomain

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

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

Page: 1
Go to End
Author Topic: 625 Views
  • grumpypanda
    Avatar
    Community Member
    32 Posts

    Publish the site as subdomain Link to this post

    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

  • lerni
    Avatar
    Community Member
    80 Posts

    Re: Publish the site as subdomain Link to this post

    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

  • grumpypanda
    Avatar
    Community Member
    32 Posts

    Re: Publish the site as subdomain Link to this post

    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

  • lerni
    Avatar
    Community Member
    80 Posts

    Re: Publish the site as subdomain Link to this post

    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

    625 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.