1

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.

Ghost Echo
  • 111
  • 4

1 Answers1

3

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.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
  • Thank you, I've never heard of that. Is it different than an SSL? Would it work on GoDaddy host/DNS? – Ghost Echo Jul 02 '20 at 21:03
  • @GhostEcho TLS superseded SSL more than a decade ago. It's all we use anymore. But some people with lots of gray hair still call them "SSL certificates". – Michael Hampton Jul 02 '20 at 21:13
  • Ok. There is an SSL installed for the old site, would I need to rekey it to support the new domain? The GoDaddy chat is telling me "the ssl needs the domain which is hosted on the domain". She is saying HTTPS to HTTPS is not possible. – Ghost Echo Jul 02 '20 at 21:18
  • @GhostEcho Yes, you need certificates for every name you use, old and new. – Michael Hampton Jul 02 '20 at 21:24
  • When I install the certificate, it removes another certificate. Both domains are listed in the same FQDNs 'section' within cPanel. – Ghost Echo Jul 02 '20 at 21:31
  • would you be available for a chat to help me? – Ghost Echo Jul 02 '20 at 21:34
  • 1
    @GhostEcho I think you're going to need cPanel support. That is [not something we do here](https://meta.serverfault.com/q/8094/126632). – Michael Hampton Jul 02 '20 at 21:38
  • either use lets encrypt or play the rules that admin panels are not supported – djdomi Jul 04 '20 at 16:24