Forum: Ruby on Rails How to create Virtual Host In Apache

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.
Piyush with Rails (Guest)
on 2008-11-21 14:19
(Received via mailing list)
Hi All,

I am new to server configurations in apache web server.

I want to learn how to create virtual hosts in apache server and run
configure domains and making domain up.

Can anyone guide me here or provide me some useful links ?


Andrey V. (Guest)
on 2008-11-21 14:28
(Received via mailing list)
If you go to use Passenger (mod_rails) the process is very simple,
just follow these instructions:


* Sorry the english, I'm Brazilian
Bobnation (Guest)
on 2008-11-21 19:58
(Received via mailing list)
I would recommend SliceHost's articles on anything from Ruby on Rails
installations to Apache configurations to get a handle on things.
Ernesto R. (Guest)
on 2008-11-22 00:38
(Received via mailing list)
Everytime i look for articles about Apache and rails application i
find the same...

what i need is:

i have a normal application at a real folder at "folder1" to be servered
apache, so i go to browser type ip/folder1 and everything is fine!

But now, i want to server a rails applications, and if a create a
the url ip/folder1 is no longer avaliable....

So, i need to be able to do 3 things:

1) when i browse the server_ip is to show up the apache default index

2) when i browse the server_ip/folder1 is to show up the html that is
already working

3) when i browse the server_ip/rails_app is to show up the rails app
servered by webrick or mongrel

Any hint about that?

Thanks, guys!
This topic is locked and can not be replied to.