# ¿Cómo denegar solicitudes de dominios no autorizados que apuntan a mi dirección IP?

**URL:** https://meta.discourse.org/t/how-to-deny-request-from-unauthorized-domain-pointing-to-my-ip-address/89970
**Category:** Support
**Created:** [15 Junio, 2018 12:44 UTC](https://meta.discourse.org/t/how-to-deny-request-from-unauthorized-domain-pointing-to-my-ip-address/89970 "2018-06-15T12:44:39Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)
#### Post date: [15 Junio, 2018 13:02 UTC](https://meta.discourse.org/t/how-to-deny-request-from-unauthorized-domain-pointing-to-my-ip-address/89970/2 "2018-06-15T13:02:50Z")

</div>

[Last time this was brought up](https://meta.discourse.org/t/my-forum-is-opened-with-another-link/70572) the easiest solution was to enable SSL, that will cause the wrong domains to either redirect to the correct one, or show an SSL error:

> [@Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709):
>
> bookmark This is a guide for enabling HTTPS on an existing Discourse installation using Let’s Encrypt. It assumes prior installation without HTTPS enabled. person_raising_hand Required user level: System Administrator exclamation This guide is only for existing installs where HTTPS is not enabled. Following the [official setup guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) automatically enables HTTPS by default. So you’d like to add https to your Discourse absolutely free, courtesy of our friends at [Let’s Encrypt?](https://letsencrypt.org/)bell I…

If thats _not_ an option you can use a pups template to add that 403 block into the Discourse nginx config.

---

_[View the full topic](https://meta.discourse.org/t/how-to-deny-request-from-unauthorized-domain-pointing-to-my-ip-address/89970)._
