skip to Main Content

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


  1. Chosen as BEST ANSWER

    Actually the best solution is to include virtual host tags within the file and then defining the directory path in those tags.


  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search