# 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:** 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:** [December 6, 2016, 8:50pm UTC](https://meta.discourse.org/t/problem-with-discourse-in-a-subfolder/53886/2 "2016-12-06T20:50:59Z")

</div>

### My advice

Don’t waste your time with a complicated configuration that buys you nothing but headaches.

> [@codinghorror](#):
>
> On the bright side, pretty much everyone who has strong opinions on subdomains vs. subfolders doesn’t know what they’re talking about. They sure do have strong opinions anyway though!

But Mom always says that unsolicited advice is worth what you pay for it.

### The answer to your question

See the line in `app.yml` that looks like this:

```
  DISCOURSE_HOSTNAME: 'forum.example.com'

```

and change it to this:

```
  DISCOURSE_HOSTNAME: 'example.com'

```

---

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