Is there any way to configure Capistrano for deploying many webs on a server? I would like to have a project on port 80 an other project on port 1000 and manage each one with different dbs.
A:
As Leonm said, the port numbers are completely irrelevant - you configure your application and web server environment with multiple virtual hosts, and simply deploy to the vhost webroot directory.
Beaks
2009-11-14 18:02:30
A:
For Apache, you can get some help here. http://httpd.apache.org/docs/1.3/vhosts/
I am hosting my own VPS (multiple) with Apache2 + Passenger (mod_rails) + vhost config. Share some more specific details if you wish to.
ramonrails
2009-11-15 12:38:08
A:
My capistrano script looks something like this (I trimmed some stuff for IP safety) http://pastie.textmate.org/699537
then I have vhosts configured for each of these folders where app gets deployed. apache makes it a breeze.
ramonrails
2009-11-15 12:44:18