just trying to lock down some information as I've asked several hosting providers and I'm not sure I've got a clear enough answer to satisfy. It's a two part question: how to have HTTPS to HTTPS redirects (any webserver, I'm just looking for concepts), and what would be a suggested way to implement.
Let's say I have a domain with several TLDs: example.ca, example.net, and example.com. I want my site to be served from https://example.com only, the .ca and .net are to be redirected over both http and https.
http(s)://example.ca -> https://example.com
http(s)://example.net -> https://example.com
http://example.com -> https://example.com
For the https://example.ca/.net -> https://example.com redirect to work, do I need to have an SSL certificate for each of example.ca, example.net, and example.com, even if the .ca and .net are just for redirects and nothing is being hosted on them? Would a UCC/SAN SSL certificate be able to have all 3 domains covered?
From what I have read, the simplest way to do this would be to: get a simple shared hosting plan, install the UCC SSL certificate, and update the web server config to make all HTTP and HTTPS traffic redirect to https://example.com. Is that correct?
I have seen some DNS registrars like GoDaddy offering 'Domain Forwarding', but from what I've read this is only over http. To get the https redirects working I'd need my own server where I'd install the certs myself.
EDIT: I'm not sure I can give an answer yet, as there's still some confusion as to if I need certs for all the domains. @Xzenor and @davidgo are saying I do need a cert for each, but @LTPCGO is saying I only need one for the final domain (but a wildcard one to include subdomains).