I have one main domain and one add-on domain. The add-on domain is a Rails app in my ~/apps/add-on-app-name folder. This folder is symlinked from my ~/apps/main-app/public folder. What I'm trying to do is follow the Typo installation wiki to install Typo on a subdomain of my add-on domain, something like blog.add-on-domain.net.
I originally created a new subdomain from cPanel, but this created a folder named "blog" under my ~/apps/main-app/public/ directory. What I'd like to have happen is to move this directory under my ~/apps folder, rename it to something like ~/add-on-app-name_blog, and then install Typo to there, all the while having the server know to look in this directory to run the blog.add-on-domain.net domain.
Unfortunately, when I moved the original "blog" directory under the ~/apps folder, and then tried to install Typo, I couldn't get the Rails application functional. I know that I don't have enough knowledge about how all of the components are working, so there's probably something obvious I'm missing. I was wondering if someone could help me work through what I'm doing wrong, or point me to a tutorial that covers this information.
Thanks!