# Our domain name changed, where do I edit the hostname?

**URL:** <https://meta.discourse.org/t/our-domain-name-changed-where-do-i-edit-the-hostname/104022>\
**Category:** Product Support\
**Created:** [December 11, 2018, 4:36pm UTC](https://meta.discourse.org/t/our-domain-name-changed-where-do-i-edit-the-hostname/104022 "2018-12-11T16:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mholt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mholt/32/120935_2.png) [@mholt](https://meta.discourse.org/u/mholt)\
**Post date:** [December 11, 2018, 4:53pm UTC](https://meta.discourse.org/t/our-domain-name-changed-where-do-i-edit-the-hostname/104022/2 "2018-12-11T16:53:41Z")

</div>

Had to log in to the server and do a global `grep` for the hostname on the file system and found an instance in a file called `app.yml` in a folder `/var/discourse/containers`. Apparently the hostname of the forum is _hard-coded into the application_ instead of being configurable.

Edited the file, and it still didn’t work. Did some googling and ran `/var/discourse/launcher rebuild app` and after a few minutes of downtime it came back, and appears to be using the correct hostname now.

---

_[View the full topic](https://meta.discourse.org/t/our-domain-name-changed-where-do-i-edit-the-hostname/104022)._
