# 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:** Support
**Created:** [12월 11, 2018, 4:36오후 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:** 6

<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: [12월 13, 2018, 4:52오전 UTC](https://meta.discourse.org/t/our-domain-name-changed-where-do-i-edit-the-hostname/104022/6 "2018-12-13T04:52:17Z")

</div>

Oh, so remapping posts is good to know (that guide you linked to didn’t appear in my googling) – but in trying it, I get this error:

```plaintext
Error: ERROR: duplicate key value violates unique constraint "index_incoming_domains_on_name_and_https_and_port"
DETAIL: Key (name, https, port)=(caddy.community, t, 443) already exists.
The remap has only been partially applied due to the error above. Please re-run the script again.

```

Doing what it says and re-running the script again shows the same error.

---

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