Linking Ghost 1-click install to domain

Posted November 29, 2021 121 views

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.)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Update: I managed to run it on my domain with, but when I run ghost config url the site crashes and returns “refused to connect”.

I also run ghost setup ssl but it throws an error ( 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/ --issue --home /etc/letsencrypt --server letsencrypt --domain --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail
[Mon Nov 29 17:22:46 UTC 2021] error:DNS problem: SERVFAIL looking up CAA for - 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:

[Mon Nov 29 17:22:41 UTC 2021] Using CA:
[Mon Nov 29 17:22:41 UTC 2021] Single domain=''
[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=''
[Mon Nov 29 17:22:43 UTC 2021] Verifying:
[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.