Certbot misbehaves by creating a certificate for a domain with "www"
Solution 1:
If you're trying to obtain a cert without the www subdomain, remove -d www.$website
from your command.
That part of your command is asking for the www subdomain.
If you're trying to set the name of the resulting certificate file use --cert-name $website
, but keep both -d
s.