Few month ago I create a certificates using certbot-auto command like this: certbot-auto certonly --webroot -w /var/www/html/833 -d 833.pztop.com
Now I am trying to setup another virtual website on the same server using domain name tju83.pztop.com. I already created DNS A record. How how to add this new domain?
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
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.