SSL Enable breaks Website

5 posts / 0 new
Last post
#1 Mon, 12/14/2015 - 09:21
bmalone667

SSL Enable breaks Website

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?

Mon, 12/14/2015 - 10:16
andreychek

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

Mon, 12/14/2015 - 11:33 (Reply to #2)
bmalone667

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.

Wed, 12/16/2015 - 13:22 (Reply to #3)
bmalone667

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!

Tue, 12/15/2015 - 18:12
bmalone667

Is there an easy way maybe to reinstall from scratch and keep my settings?

Topic locked