# 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:** 4\
**Page:** 1

## AI-generated summary

[Solarus](/t/-/255932/1) shares their experience after a challenging two-day installation of Discourse, noting that the software does not support apex domains. Consequently, they successfully deployed their instance on a subdomain, accessible at [https://foro.argiverso.lat/](https://foro.argiverso.lat/), and inquired about redirecting their root domain to the forum subdomain. [itsbhanusharma](/t/-/255932/2) responded with congratulations and offered two solutions for the redirect: utilizing Cloudflare page rules or configuring the internal Nginx server, referencing a relevant Meta Discourse guide. [Solarus](/t/-/255932/3) acknowledged the helpful guidance and expressed intent to review the suggested options.

<div class="post-metadata">

**Author:** ![Solarus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solarus/32/232588_2.png) [@Solarus](https://meta.discourse.org/u/Solarus)\
**Post date:** [February 22, 2023, 1:07pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932/1 "2023-02-22T13:07:40Z")

</div>

Hello!

After 2 days of banging my head against the wall and realising Discourse doesn’t like apex domains (and yes, i’ve read the article on the forums explaying that) i was able to install on a subdomain.

My fresh Discourse is [here](https://foro.argiverso.lat/)

Now, if only there was a way to make **[mydomain.com](http://mydomain.com)** point to **[forum.mydomain.com](http://forum.mydomain.com)**. . .

---

<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.

---

<div class="post-metadata">

**Author:** ![Solarus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solarus/32/232588_2.png) [@Solarus](https://meta.discourse.org/u/Solarus)\
**Post date:** [February 22, 2023, 2:07pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932/3 "2023-02-22T14:07:16Z")

</div>

Hi @itsbhanusharma thanks for the guide, i’ll definitely take a look 👀

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [March 24, 2023, 2:07pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932/4 "2023-03-24T14:07:53Z")

</div>

Closed on March 24, 2023, 2:07pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
