I have a droplet with two domains. Each domain has a subdomain, I am trying to setup two ghost instances on each sub domain but it is giving me a really hard time.
I have a Centos server with a LEMP stack installed. Ghost is running on the first subdomain fine, but the second one I can see the styling of the homepage/front-end, but when I visit /ghost or /admin I get an nginx 404 error not found.
Without your Nginx config file it's difficult to answer, but i will still try, you need to configure nginx to listen for those subdomains, if you have done that successfuly, you also need to configure ghost blog config.js on each blog to have different urls and port and database.
blog1.example.com config.js
blog2.example.com config.js