The only reason why this might be happening if Apache SSL website enabled? is not enabled on Edit Virtual Server page for domain that is getting wrong "redirect". However, you rather see default's domain home page, rather than get a full URL re-write?
Otherthan that, check Services > Configure Website > Edit Directives page and if you have any redirects set. You could also use Server Configuration > Website Redirects page for doing effectively the same.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Duh! xD You're right, R! My bad, sorry, misread it.
@Ronny - it's easily doable using Webmin Configuration > Ports and Addresses and setting Web server hostname. If set it will use the defined one, upon redirect.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[SOLVED]
Hi,
SSL redirects from http://hostname.domain.tld:10000 to https://hostname:10000
in this case ssl shows certifacte failure because the domain domain.tld is missing.
I've set the "Redirect non-SSL requests to SSL mode?" to YES
How can I fix this to redirect from http://hostname.domain.tld:10000 to https://hostname.domain.tld:10000
Best regards,
Ronny
Last edit: Ronny Preiss 2020-10-28
Hi, Ronny.
The only reason why this might be happening if Apache SSL website enabled? is not enabled on Edit Virtual Server page for domain that is getting wrong "redirect". However, you rather see default's domain home page, rather than get a full URL re-write?
Otherthan that, check Services > Configure Website > Edit Directives page and if you have any redirects set. You could also use Server Configuration > Website Redirects page for doing effectively the same.
Hi Ilia,
there is no option lik Apache SSL website enabled.
There is no apache webserver installed.
I've only installed the following services (server).
To install webmin I followed this guide:
https://www.webmin.com/deb.html
Greetings Ronny
Ilia
I think ronny is referring to the webmin server ssl redirect, rather than apache
R
Duh! xD You're right, R! My bad, sorry, misread it.
@Ronny - it's easily doable using Webmin Configuration > Ports and Addresses and setting Web server hostname. If set it will use the defined one, upon redirect.
Hi,
I've got it. Thanks for this usefull hint.
How can i mark this issue as resolved?
Best regards
Ronny
Last edit: Ronny Preiss 2020-10-28
Welcome.
It's a discussion, I don't think you can close it.