How to deploy CMS/Blogs in subdirectory and use domain that is being used on another deployment?
blockchirp
PROOP

7 months ago

I have node.js webapp on https://example.com

I want to have a CMS (Ghost or any other blogs) on https://example.com/blog, when I spin up new blog deployment, railway deploys it on own subdomain and it doesn't allow to use my domain for the sub-directory.

I reverse proxied using Cloudflare and masked the railway domain to show my domain but for the seo part, it is still picking railway domain.

$10 Bounty

1 Replies

7 months ago

Hi!

It's a little difficult to understand what you're asking here, but I think you're trying thost two services on one domain?

This is not possible anywhere, including Railway. What I recommend is putting your blog on a subdomain, like "https://blog.example.com"

Please let me know if I'm misunderstanding your goal.


Loading...