1 Jun 2017
# Make a backup just in case.
sudo cp -r /etc/letsencrypt /etc/_letsencrypt# Remove the old certificate information.
sudo rm -r /etc/letsencrypt/archive/domain.tld
sudo rm -r /etc/letsencrypt/live/domain.tld
sudo rm /etc/letsencrypt/renewal/domain.tld.conf# Generate a new certificate with the subdomains you want.
sudo /opt/letsencrypt/certbot-auto certonly --webroot -w /path/to/my/app -d 'domain.tld,www.domain.tld'# Reload Nginx.
sudo service nginx reload
https://airbladesoftware.com/notes/lets-encrypt-remove-subdomains/