blegit
September 30, 2019, 12:49am
1
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
I’ve just set up a Ghost instance on a DigitalOcean droplet for the URL https://divide100k.com . I also need https://www.divide100k.com to work, but the command ghost setup nginx ssl is only requestinf an SSL certificate for the basic URL.
As a workaround, I just modified the command and re-ran it:
sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain divide100k.com,www.divide100k.com --webroot /var/www/divide100/system/nginx-root --reloadcmd "nginx -s reload" --accountemail ..…
There’s also a link to our docs on setting up domains with SSL: