Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

www alias to domain #49

@I-Am-Abacus

Description

@I-Am-Abacus

How do I make the certificate cover both the main domain and a subdomain which redirects to the main domain?

I have installed the plugin, and it is working correctly for the site's main domain - caidn.co.uk.

DNS also defines www.caidn.co.uk sub-domain, which nginx redirects to caidn.co.uk. The redirect works fine (at least in chrome), and users end up at https://caidn.co.uk without any issues.

However, google webmaster tools, have issued the following warning:

SSL/TLS certificate doesn’t match your site URL https://www.caidn.co.uk/

To: Webmaster of https://www.caidn.co.uk/

Google has detected that the SSL/TLS certificate used on https://www.caidn.co.uk/ has been issued for caidn.co.uk and doesn’t match your preferred site URL. Browsers consider both www and non-www versions of a domain to be different sites. This means that the SSL/TLS certificate on your site is issued for the wrong domain, and that some browsers will not consider your website secure. As a result, many web browsers will block users accessing your site by displaying a security warning message. This is done to protect users’ browsing behavior from being intercepted by a third party, which can happen on sites that are not secure.

Thanks, Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions