# Discourse activate account URL error

**URL:** https://meta.discourse.org/t/discourse-activate-account-url-error/90271
**Category:** Self-hosting
**Created:** [June 20, 2018, 5:32am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271 "2018-06-20T05:32:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [June 20, 2018, 5:32am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271/1 "2018-06-20T05:32:58Z")

</div>

Hi,

I set up new Discourse forum. But links in activation mails doesn’t work. When i click that link:

" Not Found

The requested URL /u/activate-account/ecdc121ef393c3530\*\*\*\*\*\*\*\* was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

And ideas?

---

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [June 20, 2018, 6:23am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271/2 "2018-06-20T06:23:01Z")

</div>

I solved this problem.

I edited that line in app.yml

```
  ## TODO: The domain name this Discourse instance will respond to
  DISCOURSE_HOSTNAME: ''

```

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [June 20, 2018, 6:23am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271/3 "2018-06-20T06:23:56Z")

</div>

How did you solve the problem by removing hostname?

---

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [June 20, 2018, 6:26am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271/4 "2018-06-20T06:26:34Z")

</div>

Yes, i entered wrong hostname information in app.yml. The problem was solved when I corrected it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 20, 2018, 6:26am UTC](https://meta.discourse.org/t/discourse-activate-account-url-error/90271/5 "2018-07-20T06:26:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
