# Redirect to discourse from a route in another domain

**URL:** <https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059>\
**Category:** Self-hosting\
**Created:** [23 Agosto , 2016 12:01 UTC](https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059 "2016-08-23T12:01:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [23 Agosto , 2016 14:01 UTC](https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059/2 "2016-08-23T14:01:20Z")

</div>

The simplest thing to do is run discourse on its own domain like [forum.example.com](http://forum.example.com).

If you don’t want simple, try this

> [@Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/subfolder-support-with-docker/30507/):
>
> warning Discourse Official Statement about Subfolder setup We support subfolder setups for our hosted customers at the enterprise level and up. Due to heavy technical setup complexity we strongly recommend you do not use this setup unless you are very experienced in custom subfolder setups. It is critical you have a deep understanding of NGINX setup in the Discourse Docker container Secure original IP forwarding using custom headers in the proxy chain Rate limiting in front proxy server I…

---

_[View the full topic](https://meta.discourse.org/t/redirect-to-discourse-from-a-route-in-another-domain/49059)._
