Im using CPanel and Drupal 7.
In CPanel I have created 2 domains and pointed to my drupal installation. In the drupal sites folder I have added a folder for each domain and added the settings file.
When I navigate to either of the 2 domains I see the two Drupal installs.
I am now trying to add subdomains of each of the sites. I create the subdomains in CPanel, point them to the Drupal install. Added the subdomain folders with the settings files. But when I navigate to the subdomains I get a page not found error.
For clarity the below will help to illustrate my set up.
example.com uses sites/default example1.com uses sites/example1.com example2.com uses sites/example2.com
The above is working, but these 2 subdomains do not resolve:
subdomain.example1.com should use sites/subdomain.example1.com and subdomain.example2.com should use sites/subdomain.example2.com
How do I correctly set up these subdomains?