On Thu, Nov 12, 2009 at 2:04 AM, Geetha Sg <li...@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,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to