How to setup apache multi-site with multi-domain on ec2

Posted by Esh on Server Fault See other posts from Server Fault or by Esh
Published on 2012-06-16T08:15:43Z Indexed on 2012/06/16 9:17 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

Say I have two document roots domain1/ and domain2/

I know how to access those two roots from my own computer if they are hosted on the same computer. My question is that if I want to do the same thing on my ec2 server, how should I configure my elastic ips to those two roots? I know by default the elastic ip will only associate to the root with the name localhost(127.0.0.1).

Anyone could give me a detailed answer? An example would help, thanks!

© Server Fault or respective owner

Related posts about apache2

Related posts about amazon-ec2