I have different websites / applications built using rails that have different domain names. The fact is that I want to serve them from a server with Nginx / passenger. I tried some methods, but I can not get them to work, basically, I have very little information about this.
So, I can serve different websites / applications on different ports. But how can I make people see the “AAA” application if they come from aaa.com and see the “BBB” application if they come from bbb.com?
source
share