# Using Multiple Websites with Nginx + Discourse

**URL:** <https://meta.discourse.org/t/using-multiple-websites-with-nginx-discourse/84467>\
**Category:** Self-hosting\
**Created:** [April 3, 2018, 2:19pm UTC](https://meta.discourse.org/t/using-multiple-websites-with-nginx-discourse/84467 "2018-04-03T14:19:35Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [April 3, 2018, 7:28pm UTC](https://meta.discourse.org/t/using-multiple-websites-with-nginx-discourse/84467/13 "2018-04-03T19:28:54Z")

</div>

You can find some hints on how to do that as part of the following tutorial (but you’ll need to skip some unrelated parts):

> [@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):
>
> warning This guide is intended for advanced users, who are already using nginx outside the docker container. By following this guide you make your setup more complicated and will lose some speed benefits like HTTP2 if you’re not running Ubuntu 16.04 or later. Proceed with caution! When Discourse is rebuilding or starting up, your users will usually either see an error message from their browser… …or a not-so-nice 502 error message from Nginx: If you’re a perfectionist …

---

_[View the full topic](https://meta.discourse.org/t/using-multiple-websites-with-nginx-discourse/84467)._
