The operating system my web server runs on is (include version):Ubuntu 18.04.3 LTS
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I understand that * is only for subdomains but when I try to access directly in firefox - https://namefit.com - it is fine, it gets redirected to https://www.namefit.com but if I access twitter (x) link like the one below - it does not redirect to www and gives error of bad certificate.
when I installed root an wild card a couple or less months ago, it was working fine, in past few days something happened and I started getting this problem.
Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for namefit.com. The certificate is only valid for www.namefit.com.
@namefit Note especially that SSL Labs shows your namefit.com domain sending out two different leaf/chain combinations.
One is a leaf for www.brandya.com that expired in March
The other leaf is for www.namefit.com which expires Nov9. But note requests to your apex name get a leaf that only has the www subdomain in it so won't match. As you already knew.
Just wanted to point out the duplicate which is pretty unusual.
I reinstalled both sudo certbot -d namefit.com -d www.namefit.com again and seem to work but I proobably lost my submdomain (*.namefit.com) capability ( I do no have URL to check but will update once I test)