# After some hair pulling, I installed Discourse

**URL:** https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932
**Category:** Self-hosting
**Created:** [February 22, 2023, 1:07pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932 "2023-02-22T13:07:39Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [February 22, 2023, 2:00pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932/2 "2023-02-22T14:00:12Z")

</div>

You could achieve that in one of two ways (both consist of a redirect)

1. You could use cloudflare page rules to redirect `example.com` to `forum.example.com` or
2. You could set up nginx to perform this redirect for you. I believe discourse’ internal nginx is configured so that all requests coming in are redirected to discourse hostname. See: [(Superseded) Redirect additional domain(s) to your Discourse instance](https://meta.discourse.org/t/redirect-additional-domain-s-to-your-discourse-instance/18492)

and Congratulations 🎉 on getting your new discourse up & running.

---

_[View the full topic](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932)._
