# Success - New Multisite Install on Dedicated server using ServerPilot, Nginx and Apache

**URL:** <https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108>\
**Category:** Self-hosting\
**Created:** [29.Апрель.2015 20:37:59 UTC](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108 "2015-04-29T20:37:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [29.Апрель.2015 21:28:36 UTC](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108/2 "2015-04-29T21:28:36Z")

</div>

> [@PopsRocker](#):
>
> Change the first half of the ports to a port that is not being used, I used 85

Actually, ports \<1024 are considered “privileged”, using them without assignment is… not technically wrong, but ugly. Also, you should bind Discourse to the local interface:

```plaintext
expose:
  - "127.0.0.1:4000:80"

```

Change your nginx config accordingly to `proxy_pass http://localhost:4000;`

Overall, nice write-up, but do turn your YAML and other config file snippets into proper fenced code blocks (````` on a line by itself before and after the code block). Especially for YAML, indentation is _really_ important and it gets lost in simple quote blocks. 😉

---

_[View the full topic](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108)._
