08
Recently i needed to setup a Ruby on Rails application to run on a subdomain and I wasn`t able to find any exact information. So, after I clear that out I decided to share this simple steps:
1. Add the subdomain from Cpanel. You should have something like “public_html/subdomain”.
2. Follow the steps from here exepting step 5.
3. Login on the ftp and delete the “subdomain” folder from public_html.
4. With SSH link your apliction to the public_html/subdomain:
cpaneluser@server [~]# ln –s ../myapp/public subdomain
This will create a folder “subdomain” in public_html and the server points a subdomain to that folder :).
This stepes worked for me on a Site5 reseller account. I suppose that will work everywere.

RECENT COMMENTS