I'm setting up a Rails app behind passenger ad Apache (or Nginx). What I want to do is server the same app in multiple domains.
The app will be a multi-domain app and it'll have some specific logic to manage different domains internally.
My question is related to the server itself. In my local machine (OS X with Apache, Passenger, etc), I can achieve this by creating a vhost configuration file and changing the hosts file.
On a Ubuntu server, would it be required? I imagine the hosts file wouldn't need change as this would be done through a DNS server.
Any ideas?