I currently run Ubuntu 18.04 with Nginx on DigitalOcean and all my domains are transferred with them as well.
I was reading about how “www” is still important to be used on websites in general so I said why not lets do it.
My currently generated certificates are : *.domain.com and domain.com
I got them using this command :
certbot certonly --manual -d domain.com -d *.domain.com --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
I saw that ANYTHING.domain.com seems to be working but when I add another layer for example like www.ANYTHING.domain.com the certificate is invalid. I was wondering how to get a wildcard certificate that can support WWW + Subdomain?