I would like to have two different domain names for my website, let’s called them A and B.
Here is how I’ve configured my domain settings:
www(dot)A(dot)com as primary domain
A(dot)com as “Redirects automatically to primary domain”
www(dot)B(dot)com as Domain Alias
B(dot)com as Domain Alias
A, www(dot)A and B are working fine but not www(dot)B.
When I go on https://www(dot)B(dot)com, I get an error NET::ERR_CERT_COMMON_NAME_INVALID. I’ve renewed the HTTPS certificate on Netlify but it doesn’t seem to take into account www(dot)B(dot)com. I only see www(dot)A(dot)com, A(dot)com and B(dot)com in the domains of the certificate.
Do you know why? How can I fix this issue?