# Problem with discourse in a subfolder

**URL:** https://meta.discourse.org/t/problem-with-discourse-in-a-subfolder/53886
**Category:** Support
**Created:** [December 6, 2016, 8:40pm UTC](https://meta.discourse.org/t/problem-with-discourse-in-a-subfolder/53886 "2016-12-06T20:40:34Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sanjaynava](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sanjaynava](https://meta.discourse.org/u/sanjaynava)
#### Post date: [March 15, 2019, 9:53pm UTC](https://meta.discourse.org/t/problem-with-discourse-in-a-subfolder/53886/7 "2019-03-15T21:53:01Z")

</div>

I’ve followed the official [discourse sub domain](https://meta.discourse.org/t/subfolder-support-with-docker/30507) guide for subfolder and I’m routing subfolder `www.example.com/forum` to discourse forum `forum.example.com` through fastly. I also changed the discourse hostname to `DISCOURSE_HOSTNAME: 'www.example.com'` now `www.example.com/forum` shows Error 503 Backend unavailable, is there anything need to change in DNS ?

---

_[View the full topic](https://meta.discourse.org/t/problem-with-discourse-in-a-subfolder/53886)._
