Installing an app on a subdomain

I have Ghost (0.11) installed correctly at an URL like myghost.com
I would like to install an app (discourse or NodeBB probably) on a subdomain like app.myghost.com

How do I configure Ghost to recognize that route/app?

Ghost has nothing to do with this, it only handles routes that hit it directly (so in your case, myghost.com)

You need to follow the installation instructions provided by the app

Sidenote: Ghost 0.x is going to be deprecated by the end of the year, so you should really update to Ghost 2.0 or 1.0

Hope this helps :slight_smile:

Thanks. It is complicated, as I already have some settings in the way.
How about setting a certain path for a different app?
For instance I would like to use myghost.com/app for an app and I don’t want that Ghost to consider ‘app’ directory one of the pages.
How could I do this?

This would be handled in your nginx config (if you used the default stack)

I’m a bit rusty, but you would add a block like

location /app {
    try_files $uri $uri/ =404;
}

location / {
    # auto generated ghost config would be here!
}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.