I've set the A-record for my domain in the registrar's control panel to point to the server IP, and also a wildcard A-record for sub-domains.
I've then added a user account and domain to CentOS Web Panel and also added 2 sub-domains in the user control panel. I've set the nameservers to be `ns1.somedomain.com` and `ns2.somedomain.com` where somedomain.com is the same domain as on the user account. I've checked the DNS records exist for the domain and sub-domains and they all point to the server IP. I've enable SSL for each although that has not entirely worked.
I've edited the index.html test page in the domain and sub-domain directories so that I know which is being displayed. However when I try to navigate to either the domain or sub-domains I see the same unedited test page, not the edited version. If I add a phpinfo.php page then I get 404 not found error.
Any ideas what I might have done wrong please?