Klaus Becker
New Pleskian
How to make a 301 redirection from the Alias Domains to the Main Domain, which has "https://" and "www." too?
There is an option in Plesk for the Alias Domains, that is called "Redirect with the HTTP 301 code". But this option doesn't work, if the Main Domain is SSL protected (https://).
In this case the Alias Domains aren't redirected to the Main Domain at all, but only security warnings appear (insecure connection).
I use Plesk Onyx and Apache with Nginx reverse proxy server.
Example:
-----
1.) Main Domain ==> https://www.main-domain.com
2.) Alias Domains ==>
http://alias-domain.com
http://www.alias-domain.com
https://alias-domain.com
https://www.alias-domain.com
-----
Thanks for your help!
There is an option in Plesk for the Alias Domains, that is called "Redirect with the HTTP 301 code". But this option doesn't work, if the Main Domain is SSL protected (https://).
In this case the Alias Domains aren't redirected to the Main Domain at all, but only security warnings appear (insecure connection).
I use Plesk Onyx and Apache with Nginx reverse proxy server.
Example:
-----
1.) Main Domain ==> https://www.main-domain.com
2.) Alias Domains ==>
http://alias-domain.com
http://www.alias-domain.com
https://alias-domain.com
https://www.alias-domain.com
-----
Thanks for your help!
Last edited: