Installed Ghost but I cannot access my website

Hi, I have successfully installed ghost on my ubuntu server. But, I cannot access my website or complete the SSL installation.

When I check the ghost status, I see the website is active and running.

But, when I access my website or domain/ghost, I see this page:

When I install SSL using ghost install SSL, I get this error:

✖ 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 ********.com --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail *******@gmail.com
[Thu Jul 28 13:03:55 UTC 2022] ******.com:Verify error:141.144.203.68: Fetching http://*******.com/.well-known/acme-challenge/rKz8EhfoJr__w8MyQRCwNbk8_ihyhbAff9CZJ-oCF54: Error getting validation data
[Thu Jul 28 13:03:55 UTC 2022] Please add '--debug' or '--log' to check more details.
[Thu Jul 28 13:03:55 UTC 2022] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

[Thu Jul 28 13:03:50 UTC 2022] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Thu Jul 28 13:03:50 UTC 2022] Single domain='*******.com'
[Thu Jul 28 13:03:50 UTC 2022] Getting domain auth token for each domain
[Thu Jul 28 13:03:51 UTC 2022] Getting webroot for domain='*******.com'
[Thu Jul 28 13:03:51 UTC 2022] Verifying: ********.com
[Thu Jul 28 13:03:52 UTC 2022] Pending, The CA is processing your order, please just wait. (1/30)

Exit code: 1


Debug Information:
    OS: Ubuntu, v20.04.4 LTS
    Node Version: v16.16.0
    Ghost Version: 5.5.0
    Ghost-CLI Version: 1.21.0
    Environment: production
    Command: 'ghost setup ssl'

When I check the ghost status, I see the website is active and running.

When I run ghost doctor:

Screenshot 2022-07-28 185205

Your Nginx settings would be beneficial. Ghost may be running, but the proxy may be misconfigured or not running.

Thanks mjw. I did a fresh ghost installation on docker. Now, everything works fine.

In point of my viee, It’s better to run without Docker. I’d like to help you regarding the installation and setting up SSL, SMTP

Thank you! Why do you say it’s better without docker?

Because Docker uses more server resources. Why should we do it?