I have setup Amazon-Linux instance on Amazon micro EC2 AMI for php/mysql/apache.
I have created following folder in Apache document root folder.
Now I want to point my three domains : domain1.com, domain2.com and domain3.com to those following folders.
How can I do that? I have some idea that I have to create some DNS server (may be using Amazon 53 router) and put those dns as name server to my domain-register company, correct?
But what else I have to do on Amazon side? I think I have to update httpd.conf file for virtual host file?
Also before taking the dns, can I test that my subdomains are working using ip address for example if my elastic public ip address given by Amazon is 10.10.11.20 then can i check my sub domains using this ip address?
Also what is difference between subdomain and add-on domain?
Do I need a CPnel if I want to load 5 - 6 domains of my own?