Looking for a tutorial on discourse/wordpress 1 machine install

Hi there,

i am looking for a tutorial to setup Wordpress and Discourse on the same Ubuntu machine this can be 18.04 or 20.04.

Currently running Ubuntu 18.04 with nginx and wordpress.

Hiya! That is not a supported use case. Discourse needs it’s own VPS. :slight_smile:

That’s not true. Discourse can run on the same machine as a wordpress site given that machine is a server and not a shared hosting.

2 Likes

Easiest way will be to do it as follows:

  1. Shut down nginx
  2. Install discourse per official install guide

discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

  1. Follow other sites on same server tutorial to create a server block in nginx to forward requests to Discourse and modify the yml to use sockets.

Add an offline page to display when Discourse is rebuilding or starting up
The above link should give you a good starting point

  1. Rebuild discourse with new configuration
  2. Start nginx
5 Likes

My bad @natsu, @itsbhanusharma supports your deployment configuration. They got you covered. :slight_smile:

4 Likes

See How to set up Discourse on a server with existing Apache sites and Running other websites on the same machine as Discourse.

2 Likes