I have a Centos 6.10 server running Webmin/Virtualmin in a dedicated box. I have a few subdomains running under a main parent domain. These sub domains - sub servers as they are called under Virtualmin serve the main page.
I have edited the httpd.conf
under /etc/httpd/conf
to reflect the document root
like so:
/home/parent/public_html/subdomain1
I also hunted down a numbered text file containing some directives here: /etc/webmin/virtual-server/domains/xxxxxxxx
And modified the document root as above.
Still the server when asked to serve https://subdomain1 it shows only the pages of domains.
I have searched everywhere for the hidden Apache directive which points the subdomain to the main server to no avail. What do I miss ?