Will a .com SSL certificate cover a redirecting .com.ar domain?

Will a .com SSL certificate cover a redirecting .com.ar domain? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Will a .com SSL certificate cover a redirecting .com.ar domain? error on your web browser. Problem :


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?


Solution :


Is it possible to redirect HTTPS requests for www.example.com.ar and example.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.)


We hope that this article has helped you resolve the redirects, apache, https error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How do I redirect traffic only if being accessed from a specific port?

DNS entry to redirect constant url to changing directory name

How to redirect to any domain [duplicate]