# Looking for a tutorial on discourse/wordpress 1 machine install

**URL:** https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765
**Category:** WordPress
**Created:** [May 17, 2020, 7:39pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765 "2020-05-17T19:39:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![natsu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natsu/32/180724_2.png) [@natsu](https://meta.discourse.org/u/natsu)
#### Post date: [May 17, 2020, 7:39pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/1 "2020-05-17T19:39:12Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [May 17, 2020, 7:47pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/2 "2020-05-17T19:47:30Z")

</div>

> [@natsu](#):
>
> i am looking for a tutorial to setup Wordpress and Discourse on the same Ubuntu machine this can be 18.04 or 20.04.

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

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 17, 2020, 8:00pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/3 "2020-05-17T20:00:18Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 17, 2020, 8:03pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/4 "2020-05-17T20:03:12Z")

</div>

Easiest way will be to do it as follows:

1. Shut down nginx
2. Install discourse per [official install](https://meta.discourse.org/t/142537?silent=true) guide

> [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

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](https://meta.discourse.org/t/adding-an-offline-page-when-rebuilding/45238)  
> The above link should give you a good starting point

1. Rebuild discourse with new configuration
2. Start nginx

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [May 17, 2020, 9:13pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/5 "2020-05-17T21:13:07Z")

</div>

> [@maiki](#):
>
> That is not a supported use case.

> [@itsbhanusharma](#):
>
> That’s not true.

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

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 18, 2020, 7:26pm UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/6 "2020-05-18T19:26:12Z")

</div>

See [How to set up Discourse on a server with existing Apache sites](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013) and [Running other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247).
