[Mongrel] mulitiple rails application with different domain name

Geetha Sg lists at ruby-forum.com
Fri Nov 13 04:32:55 EST 2009

Hassan Schroeder wrote:
> On Thu, Nov 12, 2009 at 2:04 AM, Geetha Sg <lists at ruby-forum.com> wrote:
>> I am using Slackware 12.1 OS, I need to deploy two rails applications
>> (mongrel) with two different domain name with single ip.
>> The problem is both the domain goes to maths.exam.info
>> we could get both sites where mention the port number.
>> maths.exam.info:8000
>> grammar.exam.info:8003
>> How can i get the both sides with out port numbers.
> Configure your virtual hosts properly; ServerName should be e.g.
> maths.exam.info and grammer.exam.info.
> Also, both vhosts are forwarding to the same mongrel cluster, so
> nothing will ever get to the application on port 8003.
> HTH,


let me know how to do that.. i am very basic of ruby hosting..
Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list