My apache on ubuntu 16.04 is configured to serve 5 virtual SSL sites. Each SSL site is in its own .conf apache file.
I removed one site with the usual procedure for apache: a2dissite site2.mydom.com, restart apache, deleted A record for DNS.
But now, at each letsencrypt renew I get a lot of errors:
2017-01-30 20:22:17,158:WARNING:letsencrypt.cli:Attempting to renew cert from /etc/letsencrypt/renewal/site1.mydom.com.conf produced an unexpected error: Failed authorization procedure. site2.mydom.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for site2.mydom.com. Skipping. Processing /etc/letsencrypt/renewal/site3.mydom.com.conf The following certs are not due for renewal yet: /etc/letsencrypt/live/site3.mydom.com/fullchain.pem (skipped) All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/site1.mydom.com/fullchain.pem (failure) 1 renew failure(s), 0 parse failure(s) IMPORTANT NOTES: - The following errors were reported by the server: Domain: site2.mydom.com Type: connection Detail: DNS problem: NXDOMAIN looking up A for site2.mydom.com 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. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.