I installed certbot in debian buster.
I am using as server apache2. When I required the first time my certificate I used the standalone method, using my own web server (apache2) and setting up the webroot served by apache.
Then I made a manual config of apache2 for all mysubdomains. So now they don't serve the same webroot. Everything is working correctly.
Now how will auto renewal procedure will work?
I think the best option is, when the certificate must be renewd to stop apache2, use certbot with his own server (so all domains point to the same webroot), then restart apache2.
How edit the configuration of certbot to do this?
My certbot version is 0.31.0.