# Wrong domain name extension in welkcom email

**URL:** <https://meta.discourse.org/t/wrong-domain-name-extension-in-welkcom-email/74049>\
**Category:** Self-hosting\
**Created:** [2017 年11 月 14 日 12:56 UTC](https://meta.discourse.org/t/wrong-domain-name-extension-in-welkcom-email/74049 "2017-11-14T12:56:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
发布日期： [2017 年11 月 14 日 14:28 UTC](https://meta.discourse.org/t/wrong-domain-name-extension-in-welkcom-email/74049/4 "2017-11-14T14:28:06Z")

</div>

Ah! The email address does correctly use `.nl`, it’s the site domain that is incorrect.

Let’s check your `app.yml`:

1. SSH into your server, logging in if requested.
2. Type `cd /var/discourse` followed by Enter
3. Type `sudo nano containers/app.yml` followed by Enter
4. Using the arrow keys, navigate down in the file until you find `DISCOURSE_HOSTNAME:` - check the value there.
  1. If it’s incorrect (using `com` not `nl`), update it, still using the keyboard only.
  2. After updating it, exit the file by typing Ctrl + x, save by typing `y`, then hit Enter to keep the same file name.
  3. Finally, run `sudo ./launcher rebuild app` to update your site with the changed hostname.

---

_[View the full topic](https://meta.discourse.org/t/wrong-domain-name-extension-in-welkcom-email/74049)._
