# How to install wordpress in the Secondary directory?

**URL:** https://meta.discourse.org/t/how-to-install-wordpress-in-the-secondary-directory/37699
**Category:** WordPress
**Created:** [1월 10, 2016, 7:32오전 UTC](https://meta.discourse.org/t/how-to-install-wordpress-in-the-secondary-directory/37699 "2016-01-10T07:32:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [1월 10, 2016, 1:00오후 UTC](https://meta.discourse.org/t/how-to-install-wordpress-in-the-secondary-directory/37699/2 "2016-01-10T13:00:07Z")

</div>

If you’re installing both on the same server, this is probably what you’re looking for:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

If, on the other hand, you’re dealing with two separate websites (e.g. two different Digital Ocean droplets, or two different servers) this is simply a question of configuring your DNS correctly.

Whether they’re both on the same server or different ones, the integration options between Discourse and WordPress are the same.

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-wordpress-in-the-secondary-directory/37699)._
