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.
D3b4c4e5857f203807dd410526d8ad90?d=identicon&s=25 Piyush with Rails (Guest)
on 2008-11-21 13: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 ?


10863a174f5a536eb6e32c808cf31bf8?d=identicon&s=25 Andrey Viana (andreydjason)
on 2008-11-21 13: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
247cd3d37084a3d6794076207bd9fbd7?d=identicon&s=25 Bobnation (Guest)
on 2008-11-21 18: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.
3787f4c8c35e8cfc4833cda6e5d8c367?d=identicon&s=25 Ernesto Rocha (Guest)
on 2008-11-21 23: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.