To add a domain using certbot-auto
, find the certname of the existing certificate using certbot-auto certificates
.
Then run using certbot certonly --cert-name example.org -d old-domain.example.org -d new-domain.example.org
(making sure to list every single domain that should be in the new certificate). For example, in this situation you might use
certbot-auto certonly --cert-name 833.pztop.com -d 833.pztop.com -d tju83.pztop.com
Since you said that there is a different webroot for the new name, you should specify all of the webroots:
certbot-auto certonly --webroot --cert-name 833.pztop.com -w /var/www/html/833 -d 833.pztop.com -w /var/www/html/tju83 -d tju83.pztop.com