Redirect www to non-www

0

I have an SSL certificate that holds

www.dominio.com.br

domain.com

sub1.domain.com

sub2.domain.com

sub3.domain.com

But there are links (in which I do not have control) that access the subdomains via WWW, that is, and in this case the browser displays an unsecured site message because my certificate does not cover WWW for subdomains.

How do I create a redirect only for the www sub-domains for non-www independent if the access is via http or https?

I have full access to the site and DNS servers.

Note: The IIS URL Rewrite module does not work because the client continues to access www.

    
asked by anonymous 01.02.2017 / 13:06

1 answer

0

If these links (with www and subdomain) are with https, even if you create the redirect, you will get a certificate error, since you will need to open the link to identify that it is redirected.

What httpd are you using?

    
01.02.2017 / 14:22