You receive the security warning because for subdomains that serve as redirect domains after the change, technically no SSL certificates are delivered anymore, even if one existed before the switch. The redirect from the old domain including https:// therefore fails or leads to the security warning, as the certificate is only issued for the active main domain.
The main system only delivers the SSL certificate for the active main domain (domainNEU.tld). Subdomains (domainALT.tld) do redirect to the main domain but no longer receive their own SSL certificate, which causes the security warning at https://domainALT.tld.
Working redirect examples (without explicit HTTPS)
The following calls correctly redirect to the new main domain:
domainALT.tldwww.domainALT.tlddomainALT.tld/pfad/http://domainALT.tldhttp://www.domainALT.tldhttp://domainALT.tld/pfad/
Non-working redirect examples (with explicit HTTPS)
The following calls show the security warning because no valid SSL certificate is delivered for the old domain:
https://domainALT.tldhttps://www.domainALT.tldhttps://www.domainALT.tld/pfad/
Workaround via an additional tenant
To enable secure HTTPS redirection (https://domainALT.tld to https://www.domainNEU.tld) without causing a security warning, you can assign the old domain to a separate tenant and set up the redirect there with a valid SSL certificate.
- Book tenant: Book another tenant if none exists yet.
- Assign new domain: Assign the domain
domainNEU.tldto the new tenant and temporarily save it as its main domain. - Place SSL order: Place the SSL order for
domainNEU.tldon this tenant to generate the certificate. - Create transition domain: Create a new subdomain (e.g.
temp.domainNEU.tld) and temporarily assign it as the main domain. This releasesdomainNEU.tldagain. - Transfer new domain to main system: Assign the domain
domainNEU.tldto your main system and activate it there as the main domain. - Transfer old domain to tenant: Assign the domain
domainALT.tldto the new tenant and activate it as its main domain. - Set up 301 redirect: Set up the following 301 redirect on this new tenant:
^/*;https://www.domainNEU.tld/*;301;L
Alternative workaround via external domain provider
If possible, you can also handle the redirect and SSL certificate through your external domain provider.
- Add domain at provider: Add
domainALT.tldat your external domain provider. - Order SSL certificate: Order an SSL certificate for
domainALT.tldthere. - Set up redirect: Set up the redirect from
domainALT.tldtodomainNEU.tlddirectly at the external provider.
Comments
0 comments
Article is closed for comments.