Hello, I have created a Ghost 1-click droplet and followed all the instructions on the site, but I just can’t link it to my domain. I have created the A records (DNS has updated), but there seems to be a problem with the SSL certificate.
I have bought a PositiveSSL certificate and linked it to my domain (didn’t install it yet) and don’t know if this is causing the problem. I can access the blog via the IP, but not over my domain (it refuses to connect.)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Update: I managed to run it on my domain with http://www.domain.com, but when I run ghost config url https://www.domain.com the site crashes and returns “refused to connect”.
I also run ghost setup ssl but it throws an error (domain.com here is just a placeholder):
✖ Setting up SSL
One or more errors occurred.
1) ProcessError
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --server letsencrypt --domain www.domain.com --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail mail@gmail.com
[Mon Nov 29 17:22:46 UTC 2021] www.domain.com:Verify error:DNS problem: SERVFAIL looking up CAA for domain.com - the domain's nameservers may be malfunctioning
[Mon Nov 29 17:22:46 UTC 2021] Please add '--debug' or '--log' to check more details.
[Mon Nov 29 17:22:46 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Mon Nov 29 17:22:41 UTC 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Mon Nov 29 17:22:41 UTC 2021] Single domain='www.domain.com'
[Mon Nov 29 17:22:41 UTC 2021] Getting domain auth token for each domain
[Mon Nov 29 17:22:43 UTC 2021] Getting webroot for domain='www.domain.com'
[Mon Nov 29 17:22:43 UTC 2021] Verifying: www.domain.com
[Mon Nov 29 17:22:44 UTC 2021] Pending, The CA is processing your order, please just wait. (1/30)
Exit code: 1
Debug Information:
OS: Ubuntu, v20.04.3 LTS
Node Version: v14.18.1
Ghost Version: 4.24.0
Ghost-CLI Version: 1.18.1
Environment: production
Command: 'ghost setup ssl'
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2021-11-29T17_22_47_328Z.log
Try running ghost doctor to check your system for known issues.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.