Using Certbot to encrypt website

Hey there

I used certbot to encrypt my Nextcloud with SSL / TLS, like jay explained in his video “Complete Guide to Nextcloud” (or something like this).

So my nextcloud is now encrypted and it all functions well.
But i have another domain pointing to my nextcloud.

So my question is:
How can I use certbot and it’s commands to “reencrypt” the nextcloud again with my second domain.

When i use the same commands, there are errors appearing.

This is also a general question:
How can I encrypt e Website, hosted with apache2, with about more than one domain. Is there a command to add just one domain by another?

Thanks for helping



hey there

problem solved, found the commands on certbot website.