K,
I have a host (A2 Hosting) that allows me to point different domains
at sub-folders for add-on domain hosting. I’d like to be able to run
diferent rails apps in each of those folders and one in the root also.
I figure I just need to make sure that the first url fragment never
has the name of a sub-folder/site set as a route name?
I’m a little confused on deployment. A2 Hosting says to do a “ln -s
rails_app/public public_html”, but that seems too easy. Not sure what’s
happening there…
They also have Mongrel, which I’m assuming is a server for rails apps?
Is this correct? If so, would it be better to use mongrel? Can mongrel
be setup so a subfolder of the web servers www directory can have
another separate rails app? Like this:
mainsite.com - /public_html
addonsite.com - /public_html/addonsite
Also, do I need Capistrano? Is that just a deployment helper? Not a
server is it? Ugh, this is all so confusing. And I thought it was soooo
easy to build my first rails app!
- matt