# Forcing access to Discourse via domain name only

**URL:** <https://meta.discourse.org/t/forcing-access-to-discourse-via-domain-name-only/70574>\
**Category:** Self-hosting\
**Created:** [2017 年9 月 22 日 13:39 UTC](https://meta.discourse.org/t/forcing-access-to-discourse-via-domain-name-only/70574 "2017-09-22T13:39:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2017 年10 月 5 日 14:21 UTC](https://meta.discourse.org/t/forcing-access-to-discourse-via-domain-name-only/70574/5 "2017-10-05T14:21:12Z")

</div>

Enable https. Run disourse-setup again and give your email address for the let’s encrypt question.

---

_[View the full topic](https://meta.discourse.org/t/forcing-access-to-discourse-via-domain-name-only/70574)._
