When I first setup virtualmin I named the host ns0..net. This has worked fine for months. But now I’m setting up an SSL cert on www.domain.net and when I enable SSL on this website that matches the hostname the website appears to default back to apache’s default dir of /var/www/html.
I have gone into webmin and changed the hostname in network settings. Now the front page of virtualmin shows the following:
System hostname bryanhome.local (192.168.50.30) Operating system CentOS Linux 6.7
Webmin version 1.770 Virtualmin version 4.18.gpl
But when I still enable the SSL for the original domain.net it still appears to break the website.
To confirm this to be the case I have installed another SSL cert on a second virtual host. The second host what has a completely different domain name does not suffer from this issue.
Suggestions?