I'm trying to setup an application within Amazon's Elastic Beanstalk, and I'd like to use a subdomain for part of the application. Ideally, that subdomain would be mapped to a folder within the document root (ie: http://test.mydomain.com pulls the sources from /var/www/html/test). I could setup another alias record in Route 53 for the subdomain, but how do I map Apache?
The only way I can think to accomplish this is to SSH in to a server directly, add the VirtualHost entry to my httpd.conf, then roll that server into an AMI and redeploy across EBS. Is that the only option? (it seems like there must be an easier way)
Thanks!