Installing Discourse on a website running Wordpress

Hi,

I’ve a wordpress instillation on a digitalocean droplet (multisite configuration and on Apache server) and I’d like to add Discourse.

So my site is www.example.com and hosts my blog. I want Discourse on www.discourse.example.com.

I know there’s a Docker instillation available but I imagine installing that would mess my existing Wordpress instillation.

Any ideas on how I’d go about adding Discourse on a subdomain of my droplet?

Thanks!

You’ll need a 2GB instance for sure to handle both… and you’ll need to deal with routing port 80 on the same IP to two different webservers, NGINX in the Discourse docker container, and Apache on the base droplet.

Also the DNS names should be discourse.example.com (discourse) and www.example.com (blog)

Jeff, thanks for the reply.
Not sure what:

you’ll need to deal with routing port 80 on the same IP to two different webservers

means but followed this tutorial and looks like it’s working. All in about 20 mins. Sweet.

Whoops, now I get it. Actually I set up a new droplet so that’s why that wasn’t a problem. :smiley:

1 Like

There is a howto here for hosting multiple websites, give it a search.

We’re up and running. Cheers.

1 Like