# Links of emails and images don't show the site name, show the ip number

**URL:** https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383
**Category:** Support
**Created:** [24.Июль.2015 09:39:03 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383 "2015-07-24T09:39:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Zonork](https://avatars.discourse-cdn.com/v4/letter/z/db5fbb/32.png) [@Zonork](https://meta.discourse.org/u/Zonork)
#### Post date: [24.Июль.2015 09:39:03 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/1 "2015-07-24T09:39:03Z")

</div>

Hi, the emails and notifications sended from my discourse don’t show the site name, the mails sended are showing for example:

this is a email test from

[http://i.p.num.ber](http://i.p.num.ber)

and not

this is a email test from

[mydiscourse.host.com](http://mydiscourse.host.com)

the same situation are with some image and media.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [24.Июль.2015 20:31:58 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/2 "2015-07-24T20:31:58Z")

</div>

Did you set DISCOURSE\_HOSTNAME correctly?

---

<div class="post-metadata">

### Author: ![Zonork](https://avatars.discourse-cdn.com/v4/letter/z/db5fbb/32.png) [@Zonork](https://meta.discourse.org/u/Zonork)
#### Post date: [27.Июль.2015 09:07:56 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/3 "2015-07-27T09:07:56Z")

</div>

The first launch of my discourse i don’t set DISCOURSE HOSTNAME, after set it with my hostname and make a “./launcher rebuild app” but the changes don’ts make effect

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [27.Июль.2015 17:37:12 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/4 "2015-07-27T17:37:12Z")

</div>

If you don’t have any significant data on your forum, you can nuke the data and start again:

```
rm -r /var/discourse/shared/standalone
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![Zonork](https://avatars.discourse-cdn.com/v4/letter/z/db5fbb/32.png) [@Zonork](https://meta.discourse.org/u/Zonork)
#### Post date: [28.Июль.2015 12:38:27 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/5 "2015-07-28T12:38:27Z")

</div>

Thank’s @riking that works

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [08.Июнь.2024 12:46:08 UTC](https://meta.discourse.org/t/links-of-emails-and-images-dont-show-the-site-name-show-the-ip-number/31383/6 "2024-06-08T12:46:08Z")

</div>

Эта тема была автоматически закрыта через 3242 дня. Новые ответы больше не принимаются.
