Tag Info

Hot answers tagged

2

Assuming you're using Apache, create separate virtual host definitions for each "app". For example: <VirtualHost app1.arturo.com:80> ServerName app1.arturo.com DocumentRoot /var/www/sites/app1.arturo.com/public </VirtualHost> [...] <VirtualHost app5.arturo.com:80> ServerName app5.arturo.com DocumentRoot ...


1

The general principle at work here is called "service discovery". There are any number of different ways of achieving it. Here are a few: Query the EC2 APIs for the list of machines in the group at any particular time. Have the machines register themselves in DNS (via any number of means) against a common RR name; when you retrieve the records for that ...



Only top voted, non community-wiki answers of a minimum length are eligible