# 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 Septiembre, 2016 10:06 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:** 17

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [10 Septiembre, 2016 06:48 UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927/17 "2016-09-10T06:48:44Z")

</div>

With SNI, you can have multiple certificates. During the SSL negotiation the browser tells the server what name it is trying to reach, and the server returns the appropriate cert. The link I provided appeared to have instructions for SNI under nginx. Your regular site could use your regular cert.

---

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