Just a couple of points for you to verify. after you add a domain or subdomain, you have to make sure of a few things.
First, give it time for the new domain to propagate, a quick test is to us nslookup <domain.tld> from a Linux command line, if it returns the IP of your server, you are ready to go.
Second, once the domain is pointing to your server, enable SSL on the site. From user cpanel.domain.tld > Domains > AutoSSL, select the domain from the dropdown and click Install.
Third, in cpanel.domain.tld, go to CWP Settings > Php Selector and choose from the dropdown menu your domain, then select your PHP version and click Update Version.