# 从目录移动到子域名

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

<div class="post-metadata">

作者： ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
发布日期： [2018 年2 月 26 日 21:52 UTC](https://meta.discourse.org/t/moving-from-directory-to-subdomain/81475/7 "2018-02-26T21:52:06Z")

</div>

> [@Ironclad14](#):
>
> What I did:
> 
> Changed the domain name in my app.yml, removed the folder remap from custom commands, then remapped foo.bar/forum to forum.foo.bar via discourse remap, then I rebaked posts.

You did a rebuild too? `./launcher rebuild app`

---

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