Ghost blog for and WordPress for on the same server whit nginx

May 22, 2018 513 views
Ghost WordPress Ubuntu 16.04


Trying to serve the blog of my website with ghost blog on
And the website with WordPress on

What happens is when I access, I am getting my blog and when I try to access the website with it redirects me to a virgin ghost ...

Domain Config :
A record => blog / ip
A record => www / ip
CNAME => @ / www

Nginx Config :
For wp

server {
        root /var/www/mywpdirectory;

        index index.php;

For Ghost

server {
    listen 80;
    listen [::]:80;

    root /var/www/myghostdirectory/system/nginx-root;

Anyone has an idea of what could go wrong here ?


Be the first one to answer this question.