# Mudando de diretório para subdomínio

**URL:** <https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475>\
**Category:** Self-hosting\
**Tags:** subfolder\
**Created:** [Fevereiro 25, 2018, 4:13pm UTC](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475 "2018-02-25T16:13:05Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [Fevereiro 28, 2018, 3:09am UTC](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475/11 "2018-02-28T03:09:39Z")

</div>

Your yml file still has the subfolder setting enabled:

```plaintext
DISCOURSE_RELATIVE_URL_ROOT: /

```

Delete that line from the file and rebuild again.

---

_[View the full topic](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475)._
