# How to install Discourse locally?

**URL:** <https://meta.discourse.org/t/how-to-install-discourse-locally/185116>\
**Category:** Self-hosting\
**Created:** [April 1, 2021, 2:43pm UTC](https://meta.discourse.org/t/how-to-install-discourse-locally/185116 "2021-04-01T14:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [April 2, 2021, 12:20pm UTC](https://meta.discourse.org/t/how-to-install-discourse-locally/185116/5 "2021-04-02T12:20:52Z")

</div>

It’s for production and it requires https so you need a domain name. The azure one will work.

You don’t have to use the same domain name for the mail server as the hostname. A while back I changed discourse-setup to prompt for the notification email address.

Subdomain means just don’t use `x.com` but use `y.x.com`. That’s fairly established practice.

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-discourse-locally/185116)._
