I activated the automatic ssl redirect in Webmin config.
The problem is that my servers hostname isn’t the same as my domain name so it tries to redirect to https://hostname:10000 instead of the domainname. so now the webmin/virtualmin controlpanel is entirely down.
How can I via SSH deactivate the feature, or change the redirect to a domainname instead of the hostname?
there is a setting in webmin config>SSL Encryption ‘Redirect non-SSL requests to SSL mode?’
I only changed that to yes, and then it tries to redirect all connections (both http and https) to https://hostname:10000 instead of https://domain:10000
Hmm, that’s odd, it shouldn’t redirect in that case.
I’m curious – if you connect using HTTPS to the IP address (rather than the hostname), do you still run into the same problem? That is, if you connect using this: