First: How can I down-rev to version N-1 ? (I want to test to see if my issues actually were caused by last weekend’s webmin/virtualmin module updates.)
There seems to be something broken with setting up SSL sites after the updates. (ERR_TOO_MANY_REDIRECTS.)
Second: I just created another domain (without SSL), but Virtualmin seems to think it doesn’t exist. (All traffic for new v-host goes to the “default” domain.)
@Dibs, I had previously posted this as an issue, and got a frustrating response to the effect that “Oh it can’t be anything that we broke”, when the only thing that had changed on the server was in fact the updated webmin / virtualmin modules.
It’s especially frustrating since I’m not doing anything unusual … these are plain-vanilla virtualhost configs. (There’s nothing about IP:80 / IP:443, vs. *:80 / *:443) I hadn’t touched httpd.conf until this issue showed up.
I already looked in the VirtualHost blocks, but didn’t see anything different other than (obviously) the domain / account names, and a couple of php directives. (I changed those to be identical but it didn’t fix anything.) Here’s my original extended post, with the relevant Virtualhost blocks – insights would be hugely appreciated…
There seem to be distinct issues going on but I can’t untangle them, exactly. (Again, noting that this started after the 10/18 webmin & virtualmin module updates.)
I originally had configured Virtualmin to always create an SSL site along with the standard webhost. Never had any problem with that, until after the updates.
On 10/19, created NewDomain1, and immediately started seeing ERR_TOO_MANY_REDIRECTS. I removed SSL site, and ERR_TOO_MANY_REDIRECTS went away.
On 10/21, created NewDomain2 (no SSL), and now just basic surfing to NewDomain2 sends browser to totally-unrelated DefaultDomain.
VirtualMin devs seem to prefer denying that there’s a problem, rather than looking into it, despite that these issues only showed up after 10/18 module updates.
Nobody seems to have any input for my plaintive request to back out the module updates, just to prove / disprove if they are, in fact, the source of the problems.
In the new domain with no SSL have you created a noddy html page (hello world or something) and placed it in the public_html directory (or whatever it’s called)? Just so the site has some “content”?
There’s a few things going on possibly & I think it’s best to work through them.
Apologies - I can’t help with downgrading Virtualmin, never done it and the way I’m wired - I’d view that as a last resort (for myself) and probably beat Apache into submission at some point.
I’ve removed the virtualhost for NewDomain2 and recreated it several times. Same behavior.
I’m afraid to create NewDomain3 to see what happens there. Arrgghhh… I came to VirtualMin because it had the rep of being the most stable of all the admin / configuration apps … I really don’t want to have to trash everything and rebuild with some other webhost manager just because the devs don’t want to tell me how I can simply back out these updates to do a stupid test to prove/disprove whether the 10/18 module updates are in fact the source of these issues.
I would suggest “stripping” things back to basics. Take
.htaccess, cloudfare out of the equation.
Stop & start Apache - is the sample html page still going to the default domain?
EDIT: Before stopping and starting Apache - in Virtualmin, Edit Virtual server, Enabled Features: remove everything apart from “Apache website enabled”. To strip your VirtualHosts block to the bare minimum.
In all fairness - nothing jumps out in the VirtualHost blocks you posted but I find it out that a .php file shows and a .html one doesn’t. So maybe stepping back to a very basic VirtualHost’s block and then adding sections back in might show what’s misbehaving.
Can you post your <Virtual Host *:443> for the new virtual server you setup that is causing the error.
Also, you mention that if you create a non ssl vhost it’s loading default site…what is your dns configuration? Are you running Bind dns or is that being hosted elsewhere?
In all fairness - I think it needs stripping down to basics. Disable all confs for Apache VirtualHosts, then re-enable only the troublesome one but with a basic VirtualHosts block, restarting Apache afterwards.
Something is amiss in that he can see a .php file but not a .html file in the public root of that host.
I’d then refer to the Apache docs and add back in sections at a time. Mind you I’d be tempted to run an
apachectl configtest
command once every VirtualHost has been disabled, enable the troublesome one enable (but prior to swapping it for a basic one) and restart Apache - then do the configtest. Not expecting anything to jump out as Apache is running - but it might show something about the troublesome one. But then again, I am not sure what would happen if all VirtualHost blocks were syntactically correct with the exception of one. So if you disabled all of them expect the one - slightly more than curious what warnings\errors that would spit out.