This seems to work fine in most cases, however there is a case that it's failing. If someone types https://example.com it doesn't redirect properly, they get taken to a page telling them it's unsafe to proceed. Of course, https://example.com doesn't exactly exist, https://example.ca does.RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ https://example.ca/$1 [L,R=301,NC]
Can someone suggest a redirect that will catch https://example.com and change it to https://example.ca? I'm hoping this is possible without buying a second ssl certificate.
I really am quite a noob on this subject, thanks in advance for any help.

