How to remove a sub-domain from the renewal process

If it's a reasonably new version of Certbot, you can run a command similar to what was used to create the certificate:

sudo certbot --apache --cert-name growthpath.com.au -d growthpath.com.au -d www.growthpath.com.au

That will issue a new certificate and save it on place of the old one.

If you passed other options to Certbot when creating the old certificate -- like a hook to do something -- you have to replicate those as well.

2 Likes