On Jun 24, 2008, at 10:20 PM, Nick Romanowski wrote:
I'm a newb when it comes to Rails and Capistrano, and i'm building my first "real" app...
I am going to have a forum and a blog integrated in my Rails app and I have a lot of experience with WordPress and phpbb, so naturally i was going to use those platforms.
So i'm going to ping the list for some information:
If I were in your shoes, I'd probably just use an apache VirtualHost directive for each full host name. The PHP ones would just set a DocumentRoot and the rails ones would set up a mod_proxybalancer situation. If you don't need SSL it should be pretty simple. If you do need SSL coming up with a cert that works for all the hosts is something that I've still been unable to pull off.
I still haven't used nginx though (/me hangs head in shame), so maybe it's even easier there.