Redirect HTTPS to another HTTPS site without warning

Ghost Echo asked:

I have recently moved a site over to a new domain. The hosting stayed the same, just a new URL for the site.

I want https://oldsite.com to redirect to https://newsite.com.

I’m getting the Invalid Certificate warning. Is it possible to do this without getting the warning?

I’ve found this question and answer (Redirecting SSL without raising an alert), but it doesn’t quite apply since I’m going from one domain to another and not to a subdomain.

My answer:


Just install a TLS certificate for the name(s) which need them.

Yes, you have to keep using a TLS certificate for old names you’re redirecting from.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.