# Installing Discourse on a website running Wordpress

**URL:** https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728
**Category:** Self-hosting
**Tags:** docker, hosting
**Created:** [2015年三月25日 00:09 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728 "2015-03-25T00:09:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月25日 00:09 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/1 "2015-03-25T00:09:39Z")

</div>

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](http://www.example.com) and hosts my blog. I want Discourse on [www.discourse.example.com](http://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!

---

<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: [2015年三月25日 00:22 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/2 "2015-03-25T00:22:45Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月26日 09:11 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/3 "2015-03-26T09:11:54Z")

</div>

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](https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md) and looks like it’s working. All in about 20 mins. Sweet.

---

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月26日 09:12 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/4 "2015-03-26T09:12:44Z")

</div>

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

---

<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: [2015年三月26日 10:08 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/5 "2015-03-26T10:08:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月26日 12:16 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/6 "2015-03-26T12:16:29Z")

</div>

We’re up and running. Cheers.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年三月26日 23:33 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728/7 "2015-03-26T23:33:43Z")

</div>


