How to add a new certificate to a new website?

I have already setup certbot with my existing websites, say one.com and two.com

Suppose, I wan to add a new website, say, three.com and its subdomain, sub.three.com , what is the method? What is the command?

certbot certonly --nginx

Is this the command? how can I specify the domain name and its subdomain?

Thanks

1 Like

Hasn't this been answered already in Add certificates for more websites?

Also, you can find it in the docs at User Guide — Certbot 2.11.0 documentation.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.