Ghost site not loading using domain or IP

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.

If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.

  • What’s your URL? https://fivemincodes.com/
  • **What version of Ghost are you using?
    Ghost-CLI version: 1.23.1
    Ghost version: 5.22.9

And

  • How was Ghost installed and configured?

I am using the Linode server to configure the Ghost.
I followed all the steps in the documentation and please see below for more information.

  1. Added NS records to the domain
  2. Added A records with the server’s IP
  3. Successfully run the ghost install command and ghost setup ssl command.
  • What Node version, database, OS & browser are you using?

Node version - v16.18.1
database - MySql
OS - Ubuntu 22.04.1 LTS
browser - Chrome

  • What errors or information do you see in the console?

No errors were found.

  • What steps could someone else take to reproduce the issue you’re having?

I tried with my domain to load the site but it’s not working.
When I tried using the server IP, It will load a welcome message of Nginx.

Here are my Nginx Configurations,

  1. fivemincodes.com.conf
server {
    listen 80;
    listen [::]:80;

    server_name fivemincodes.com;
    root /var/www/fivemincodes/system/nginx-root; # Used for acme.sh SSL verification (https://acme.sh)

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;

    }

    location ~ /.well-known {
        allow all;
    }

    client_max_body_size 50m;
}
  1. fivemincodes.com-ssl.conf
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name fivemincodes.com;
    root /var/www/fivemincodes/system/nginx-root; # Used for acme.sh SSL verification (https://acme.sh)

    ssl_certificate /etc/letsencrypt/fivemincodes.com/fullchain.cer;
    ssl_certificate_key /etc/letsencrypt/fivemincodes.com/fivemincodes.com.key;
    include /etc/nginx/snippets/ssl-params.conf;

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;

    }

    location ~ /.well-known {
        allow all;
    }

    client_max_body_size 1g;
}

It’s working for me now, you might need to wait a few hours for DNS to propagate.

Oh, may be its DNS to propagation. I will update withing a few hours.