Forum: Ruby on Rails Virtual Hosts?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gary H. (Guest)
on 2006-01-04 01:32
(Received via mailing list)
Well, I guess I'm successful because within a month of getting my very
application online (and it's barely functional) I now have to get a
one up pretty quickly.

Basically, I have a rails application "myFirstApp", and a hostname  Now I have a second rails app "mySecondRailsApp"
and I
need to peacefully coexist on the same box.

I've looked through the rails wiki and I know I need virtual hosting.  I
one page that discusses this with apache and I might be able to muddle
through it.  Currently I'm using WEBrick and I'm a big fan of not
things unless I have to.  Can this be done well with WEBrick or should I
make the switch to ?Apache?

Server load is not an issue.  Both sites are low traffic.


Gerard (Guest)
on 2006-01-04 01:45
(Received via mailing list)

Still working on my first app on a test server, but it needs to go onto
production system as well. I use vhosts on the production environment,
it all directed by apache2.

What I'm planning on doing (read: trying/testing). Is have an apache
function as a proxy and redirect stuff to a lightweight daemon
internally to
another port for the rails apps.

Proxy stuff:

And scgi is optimized for use with Rails:



On Wednesday 04 January 2006 00:30, Gary H. tried to type
> through it.  Currently I'm using WEBrick and I'm a big fan of not changing
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid

"Who cares if it doesn't do anything?  It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..."

My $Grtz =~ Gerard;
This topic is locked and can not be replied to.