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?
Howdy,
After enabling SSL for this domain -- are you experiencing this problem just when accessing the domain via HTTPS, or does it occur via HTTP as well?
-Eric
It happens on both port 80 and 443. it actually appears to randomly re-direct to on of my other 2 virtual hosts. Doesn't seem to make rhyme or reason as to which one it pulls up.
So this was obviously a misconfig on my part.
Inside the virtual host settings/Server Configuration/Change IP. My Shared address was my ext. IP. Once I changed the shared address to the internal IP and specified my External IP address to the correct information. Everything works great now!
Is there an easy way maybe to reinstall from scratch and keep my settings?