Good morning,
I am using Plesk for a week now and it's really nice but there is something I can't get working.
Recently I bought an SSL certificate for my server hostname I am using for Plesk (let's say it is "www.DOMAIN.com")
What I want to do is to redirect all traffic for this domain to the Plesk Panel Login on Port 8443 (including the www). I already applied this Nginx directive:
return 301 https://www.DOMAIN.com:8443/;
so if you want to open the "non-https" site you will be redirected. Unfortunately if someone uses "https://DOMAIN.com:8443" he won't be redirected and gets this ugly certificate error because my certificate is only valid for "www.DOMAIN.com"
Is there a way around this or do I have to buy another SSL certificate?
My setup:
Apache
Nginx (reverse proxy)
Thank you in advance
Moritz
I am using Plesk for a week now and it's really nice but there is something I can't get working.
Recently I bought an SSL certificate for my server hostname I am using for Plesk (let's say it is "www.DOMAIN.com")
What I want to do is to redirect all traffic for this domain to the Plesk Panel Login on Port 8443 (including the www). I already applied this Nginx directive:
return 301 https://www.DOMAIN.com:8443/;
so if you want to open the "non-https" site you will be redirected. Unfortunately if someone uses "https://DOMAIN.com:8443" he won't be redirected and gets this ugly certificate error because my certificate is only valid for "www.DOMAIN.com"
Is there a way around this or do I have to buy another SSL certificate?
My setup:
Apache
Nginx (reverse proxy)
Thank you in advance
Moritz