shivpatelspp suggests we add the new subdomain settings to the file:
if I want to add, let's say, the subdomain "stage.mydomain.com" , can I add it to the
"/etc/apache2/sites-available/mydomain.com.conf" file ? I actually tried that and apache could not restart and I got the error "Syntax error on line 219 of /etc/apache2/apache2.conf" . The error went away when I removed the subdomain settings from "mydomain.com.conf".
So apparently I cannot have my subdomain in the same conf file as my domain?
Can/should I create a new .conf file for my subdomain or should it be in the 000-default.conf file?
Thank you very much