I’ve set up the directories, created virtual host files for each site, and enabled both sites.
The only reason I can think of this happening (I’ve investigated .htaccess files and ruled that out) is if the following line were catching the sub-domain because it doesn’t contain ‘www’:
Is this possible, or is the problem likely somewhere else and if so what could it be? I’ve exhausted my Google searches : /
I would like my main site to continue to serve without ‘www’ if possible, whilst also running the new sub-domain on the same droplet.
Thanks for any help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.