Installing Discourse on a website running Wordpress

docker

#1

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!


(Jeff Atwood) #2

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)


#3

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.


#4

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


(Jeff Atwood) #5

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


#6

We’re up and running. Cheers.


(Sam Saffron) #7