Getting Discourse <> Ghost working on same domain

August 29, 2019 202 views
Ghost Ubuntu

I want to setup Ghost blog aside my Discourse forum and integrate the two:
https://ghost.org/integrations/discourse/

I already have Discourse setup on the base domain.com
Then I setup a new droplet for Ghost onto domain.com/blog

It then asked me to go to domain.com/blog/ghost which just results in a 404 on Discourse

I setup A record for the domain to the second droplet, but I feel that’s just going to cause issues with the domain setup?

How should I go about this setup if I want to setup ghost and discourse under the same domain?

1 Answer

Hello,

You should only have your A record for your domain.com pointing to your Discourse droplet. If you have 2 A records then you would randomly get the content of one of the servers depending on the DNS lookup.

Have you tried to add your Ghost droplet’s IP address under the ‘Allowed Hosts’ section in Discourse? If you are able to access your Ghose blog directly via your droplet’s IP address, then Discourse should render the iframe of your Ghose installation as normal.

Hope that this helps!
Regards,
Bobby

Have another answer? Share your knowledge.