Will a .com SSL certificate cover a redirecting .com.ar domain?
we have a website with 2 different domains:
www.example.com
or example.com
and www.example.com.ar
or example.com.ar
I want all requests redirected to www.example.com
.
I know I have to create two virtual hosts in Apache and in the .htaccess
file for .com.ar
site put the rewrite rule (as explained here I have domain.com and domain.org to the same site, should I use redirects to avoid duplicate content)
My question is: we have a wildcard SSL certificate for .com
domain. Is it possible to redirect HTTPS requests for www.example.com.ar
and example.com.ar
to the .com
site? Or I should get another SSL certificate for .com.ar
domain?
Is it possible to redirect HTTPS requests for
www.example.com.ar
andexample.com.ar
to.com
site? Or I should get another SSL certificate for.com.ar
domain?
You'll need an SSL cert that covers .com.ar
.
I know I have to create two virtual hosts in apache and in the htaccess file for .com.ar site put the rewrite rule
If you are creating virtual hosts then you don't need .htaccess
or any "rewrite rule". The simpler mod_alias Redirect
is all that's required. (Preferably, you'll use four virtual hosts - one for each hostname.)
Comments
Post a Comment