I'm trying to host multiple website on Amazon Ec2 linux, but it is only show the home dashboard website. I try as following virtual host configuration in httpd.conf too.
DocumentRoot "/var/www/html/SITE-1" ServerName www.myexample1.com
DocumentRoot "/var/www/html/SITE-2" ServerName www.myexample2.com
If i put like http://10.123.12.12/SITE-1 and http://10.123.12.12/SITE-2 it's getting the right page
But if i given with the DNS name the default page is only loading up, the two different site is not loading up