# How to disable direct https://ipaddress visit?

**URL:** <https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927>\
**Category:** Self-hosting\
**Tags:** tablet\
**Created:** [9 Settembre 2016, 10:06am UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927 "2016-09-09T10:06:20Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [10 Settembre 2016, 1:35am UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927/12 "2016-09-10T01:35:58Z")

</div>

You can’t do what you want to do using a firewall. In order to do what you want to achieve, you must first **get a valid, trusted certificate for your server’s IP address**. Until you have that, nothing else can be done. Talk to your preferred CA to organise that.

---

_[View the full topic](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927)._
