# Create self-hosting clean Incomplete cleaning

**URL:** https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461
**Category:** Self-hosting
**Created:** [November 24, 2025, 1:18pm UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461 "2025-11-24T13:18:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wszgrcy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wszgrcy/32/463600_2.png) [@wszgrcy](https://meta.discourse.org/u/wszgrcy)
#### Post date: [November 24, 2025, 1:18pm UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461/1 "2025-11-24T13:18:43Z")

</div>

I first build with DISCOURSE\_HOSTNAME=[bbs2.abc.com](http://bbs2.abc.com)

then I change DISCOURSE\_HOSTNAME=[bbs1.abc.com](http://bbs1.abc.com)

But I found that there was an error message when sending the email, and the sender was `bbs2`

But all the links on my website have been replaced with ‘bbs1’, only the email is still from ‘bbs2’`

I tried to destroy and checked the volume and container, confirming that they are no longer available But next time when rebuilding, it will still display ‘bbs2’`  
May I ask how to troubleshoot this issue?

* * *

I use `find / -iname *bbs2*` with no result

---

<div class="post-metadata">

### Author: ![jahan\_gagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jahan_gagan/32/501948_2.png) [@jahan\_gagan](https://meta.discourse.org/u/jahan_gagan)
#### Post date: [November 24, 2025, 1:22pm UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461/2 "2025-11-24T13:22:17Z")

</div>

It might be relevant to what you are working on:

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-your-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

---

<div class="post-metadata">

### Author: ![wszgrcy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wszgrcy/32/463600_2.png) [@wszgrcy](https://meta.discourse.org/u/wszgrcy)
#### Post date: [November 24, 2025, 1:50pm UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461/3 "2025-11-24T13:50:41Z")

</div>

resolved delete `shared`
