I have an PHP website up and running on AWS setup with elastic beanstalk. Its running httpd server and I am unable to figure out as how to create virtual host to run multiple sites. The httpd.conf file doesn’t have VirtualHost tag and I am unable to figure out as how to create one. Please let me know as how to configure it.
2
Answers
Actually the best solution is to include virtual host tags within the file and then defining the directory path in those tags.
I think the best solution is to create a
elasticbeanstalk.conf
file in the.ebextensions
directory and you specify in it the changes you want to make in the apache config