• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question http / https redirect to hostname?

mrtx

New Pleskian
Hello, I finally managed to do it for example

Enter http: //domain.tld: 8443, which will redirect to the hostname hostname.domain.tld.

however, if I enter https: //domain.tld: 8443, I will not be redirected to the hostname hostname.domain.tld.

is that possible? and if so, how?

# http to https redirect
error_page 497 https: // $ hostname: $ server_port $ request_uri;

Thank you for Answer :)
 
Back
Top