I ran this command: sudo certbot --nginx -d pixellriveritsm.ca -d www.pixellriveritsm.ca -v
It produced this output: Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: www.pixellriveritsm.ca
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for www.pixellriveritsm.ca - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.pixellriveritsm.ca - check that a DNS record exists for this domain
My web server is (include version): Digital Ocean
The operating system my web server runs on is (include version): Ubuntu 22.0.4
My hosting provider, if applicable, is: Rebel.ca
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
I believe so, digital ocean.
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 1.30.0
I have A records in my digitalocean for both www.pixellriveritsm.ca and pixellriveritsm.ca however the A record for the www.pixellriveritsm.ca doesn't seem to be appearing
If you are still having a problem getting a cert please post the latest error message.
OOPS: Correction. Only your apex domain has an A record. Your www subdomain does not. Sorry I did not read closely enough. Re-check your DNS settings or ask your hosting service for help on that. Use the Let's Debug test site once you think it is resolved.