# Blacklist : is it possible to redirect to a specific address?

**URL:** <https://discourse.pi-hole.net/t/blacklist-is-it-possible-to-redirect-to-a-specific-address/17173>\
**Category:** Help\
**Created:** [February 11, 2019, 8:08pm UTC](https://discourse.pi-hole.net/t/blacklist-is-it-possible-to-redirect-to-a-specific-address/17173 "2019-02-11T20:08:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [February 12, 2019, 10:23pm UTC](https://discourse.pi-hole.net/t/blacklist-is-it-possible-to-redirect-to-a-specific-address/17173/4 "2019-02-12T22:23:50Z")

</div>

> [@Sodi\_Repair](#):
>
> I want to redirect to a personalized error message.

You have this option if you use one of the other blocking modes available. Modes `IP` and `IP-NODATA-AAAA` both provide a built-in blocking page.

This section of the documentation discusses how to make this configuration change. It is a line item in a configuration file, very easy to set up.

> **[Blocking mode - Pi-hole documentation](https://docs.pi-hole.net/ftldns/blockingmode/)**

> [@Sodi\_Repair](#):
>
> in a perfect world I will wish to freely redirect the addresses.
> 
> [www.facebook.com](http://www.facebook.com) to [xxxxx.com](http://xxxxx.com)  
> [www.google.com](http://www.google.com) to [yyyyy.com](http://yyyyy.com)
> 
> with https I think this is probably impossible?

Edit - Yes.

There is a related thread on forcing safe browsing that uses redirection methods - that may be of interest to you:

> [@Use DNS to force youtube into restricted mode - and Pi-Hole](https://discourse.pi-hole.net/t/use-dns-to-force-youtube-into-restricted-mode-and-pi-hole/1996/52):
>
> Sure thing! I was initially planning that, just wouldn't get to it until this week. Do you want the controls to be granular, for say enable and disable Youtube, Duckduckgo, Google SafeSearch, etc? Or do you just want all of those together in the script? Please let me know, Thanks, Jayke

Finally, your English is fine and is much better than my French. 😄

---

_[View the full topic](https://discourse.pi-hole.net/t/blacklist-is-it-possible-to-redirect-to-a-specific-address/17173)._
