Transfer wildcard certificate to CNAME ones

I have 3 subdomains that shares the same wildcard LE certificate.

blog.mydomain.com
forum.mydomain.com
stats.mydomain.com

I’m looking into the feasibility of turning them into standalone CNAMEs

www.mydomainblog.com ===> blog.mydomain.com
www.mydomainforum.com ===> forum.mydomain.com
www.mydomainstats.com ===> stats.mydomain.com

Would the LE certificates keep working? Or is there anything I have to do to make those standalone www subdomains work?

Hi @flamingtop

then you need new certificates with

www.mydomainblog.com
www.mydomainforum.com
www.mydomainstats.com

One certificate with three (or six) domain names or three certificates with one (or two) domain names. Typical solution - one certificate with two domain names:

mydomainblog.com
www.mydomainblog.com

and I’m not sure if you really want CNAME, not redirect in http level? it doesn’t redirect, just treated as if they have same DNS records with CNAMEed one. visiters will still see www.mydomainblog.com in top bar if they connected by that name.

1 Like

Yep, that's a problem. So CNAME produces duplicated content:

www.mydomainblog.com
blog.mydomain.com

Same content found under different urls. So a http redirect is required (and a correct certificate).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.