I just created a new site within EC2, the site works fine if I go to it's public IP.
However I am setting up this site as a subdomain for another site, e.g. subdomain.mymarketingcompany.com. The main site mymarketingcompany.com is NOT hosted with EC2.
Within (mymarketingcompany.com) domain DNS setting, I have a A record(subdomain) pointing to the EC2 public IP, the site won't load but goes the mymarketingcompany.com instead.
Any idea what's not working here?