Www A record is not working

Hello I am running a digital ocean VPS with ghost and the A record does not seem to be working with the www prefix but it does work without the prefix. I set up letsencrypt ssl last week and the site worked without the www prefix not sure why it is not working with the www prefix. Thanks

Debug Information:
OS: Ubuntu, v18.04
Node Version: v8.10.0
Ghost-CLI Version: 1.11.0
Ghost version: 2.31.1 (at /var/www/ghost)
Environment: production

Howdy there @blegit. You might want to check out this discussion that’s on the same subject of setting up domains with LetsEncrypt

There’s also a link to our docs on setting up domains with SSL: