How to setup apache multi-site with multi-domain on ec2
- by Esh
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!