Sub domain + different rails application

Hello friends,

Is there any way to implement the subdomain i.e two more rails
but main domain is same.

Note: its not a single rails application.
I am using rails 4, ruby 2.0

Please guide me.


if you use Apache Webserver and PhusionPassenger you can take a look

Am Dienstag, 17. Dezember 2013 07:15:05 UTC+1 schrieb saravanan p:

Use a webserver like nginx to route traffic to different rails

Sample config in nginx can be as below:
server {

Cheers and good luck!

Thank you!

Let me check with apache2 and puhsion passenger. Thanks again!

I use multiple virtual hosts with apache2 and phusion passenger for that
problem. Works fine.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs