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.


Easiest way will be to do it as follows:

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


  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.

Adding an offline page when rebuilding
The above link should give you a good starting point

  1. Rebuild discourse with new configuration
  2. Start nginx

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


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