Adding Ghost on top of my existing app

Hey, I am looking to use ghost as a cms for my publications. I was wondering how can I possible structure the URLs correctly.

Currently I have an app hosted under ( for exmple.

I am looking to add 2 collections [news] and [guides], so I can achieve:

I am looking to stick to my existing URL, and using ghost only for /news and /guides. Is it possible?
Sorry for the silly questions I am just totally new into it.

This is possible – check out reverse proxy.

Say for Nginx, you can route the subdirectories /news and /guides as separate “locations” than your existing app. For example:

location / {

location /news/ {
    proxy_pass http://localhost:6666; # Where your Ghost is running

etc. Then you simply firewall external access of port 6666, and you’re good to go.

Check out Ghost’s official guide on this:

1 Like