I have been trying to sort this issue for over a week. I would be grateful if any one can help me on this.
I have a dedicated server running Centos 6.10 with Webmin/Virtualmin. I have a few sub servers under a main domain. Every sub server continues to show the main site. I have edited the httpd.conf to reflect the document root like this: /home/main-domain/public_html/subdomain I hunted down some directive here: /etc/webmin/virtual-server/domains/xxxxxxxxx and changed the document root as needed. Still no joy.
Where does the Virtualmin store the document root other than the ones pointed above ? I moved the sites from a cpanel full backup. I struggled a lot to make the main site work after modifying the apache directives.