Run two different Rails application on one dedicated server

前端 未结 3 1796
攒了一身酷
攒了一身酷 2021-01-31 11:36

I have one dedicated server with below configurations

i3 - Dual Core - 3.06Ghz H/T
16GB RAM
500GB SATA2

Now I want to execute two different Rai

3条回答
  •  醉酒成梦
    2021-01-31 11:57

    Passenger Phusion with Apache is a solid approach. The fact that they are using the same database shouldn't be a problem (just make sure they don't step on each other in any way).

    Generally, just set things up as normal, but take a look at Apache name-based virtual hosts:

    http://httpd.apache.org/docs/2.2/vhosts/name-based.html

提交回复
热议问题