# Comprehensive Guide to setting up Wordpress with Discourse (on DigitalOcean)

**URL:** https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624
**Category:** Self-hosting
**Created:** [8월 13, 2018, 6:10오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624 "2018-08-13T18:10:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [8월 13, 2018, 6:10오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624/1 "2018-08-13T18:10:50Z")

</div>

I have read so many discussions and articles from DigitalOcean (DO) and a few from this Meta community on how to install Discourse or how to install Wordpress (WP) on one or multiple droplets (via DO).

My question is… **What is the most optimized way to set up WP and Discourse to run together, on a single droplet?**

I’d love to get some step-by-step help from the community to know the best way to deploy WP/Discourse to be optimized for security, minimal resource usage, etc. It seems the building these on a LEMP stack is a great approach and that’s what I’d like to do… but I’m just not savvy enough to make sure I’m not missing anything!)

Any help would be greatly appreciated and I presume would help many people!

> Great conversation and some strong advice from @codinghorror over here, talking about how, as a best practice, Discourse should be set up as a subdomain and not a subdirectory: [https://meta.discourse.org/t/wordpress-with-discourse-in-a-subfolder/45087/3](https://meta.discourse.org/t/wordpress-with-discourse-in-a-subfolder/45087/3) Thanks Jeff!

---

<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: [8월 13, 2018, 8:36오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624/2 "2018-08-13T20:36:19Z")

</div>

Unless you insist on a sub-folder install, the best and easiest way for most people is to just run two droplets. To run them both, you’ll need 2 GB, so there’s no cost savings. If your traffic is such that you need a 4GB droplet, then it might make sense to use a single droplet.

If you do want to do the single-droplet approach, there are #howto documents here for “running discourse with another web server”.

---

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [8월 13, 2018, 8:39오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624/3 "2018-08-13T20:39:30Z")

</div>

Thanks for the pointers. Would it be considered a best practice, architecturally, to have WP on one droplet, and Discourse on another droplet?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 13, 2018, 9:47오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624/4 "2018-08-13T21:47:33Z")

</div>

It’s much simpler from a setup and troubleshooting standpoint, for sure.

---

<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: [8월 13, 2018, 9:52오후 UTC](https://meta.discourse.org/t/comprehensive-guide-to-setting-up-wordpress-with-discourse-on-digitalocean/94624/5 "2018-08-13T21:52:34Z")

</div>

If you don’t immediately think, “Oh, cool. I was expecting to crank up a 4GB optimized dropet anyway, I’ll just have my LEMP nginx reverse proxy to discourse on a non-standard port or maybe a socket”, then the answer is, “Yes. The best practice is to use two droplets.”
