# Blocked by PiHole

**URL:** <https://discourse.pi-hole.net/t/blocked-by-pihole/85847>\
**Category:** Closed or Out Of Scope\
**Created:** [April 25, 2026, 3:38am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847 "2026-04-25T03:38:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Leslie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mark_leslie/32/55331_2.png) [@Mark\_Leslie](https://discourse.pi-hole.net/u/Mark_Leslie)\
**Post date:** [April 25, 2026, 3:38am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/1 "2026-04-25T03:38:22Z")

</div>

When you encounter a website that is being blocked you get a 404 error (same as if didn’t exist or it isn’t responding at all.

There is an option to edit the Pi-hole FTL configuration file:  
sudo nano /etc/pihole/pihole-FTL.conf  
Add or modify the line to set the blocking mode:  
BLOCKINGMODE=IP

However, that doesn’t work for https sites (which is a majority of the sites these days).

The feature request is to add an option/check box to DISPLAY that this page was blocked by PiHole vs just null route it. Literally it could just point that “blocked” IP to be a self-hosted (localhost/etc) webpage or image that is provided by the PiHole itself (bonus would be something that you could edit - providing POC to request it be unlocked).

I know that is not part of the CORE functionality of the existing product - but it would really be a NICE thing to add I would think. It is one of the things that I really MISS about going to PiHole from OpenDNS. Another thought just came to me, how about an option to display a page/image OR redirect it to another DNS IP (like OpenDNS or 9.9.9.9/etc - you provide the IP to go to).

Just a thought - it would really be nice to know if something is being ACTIVELY blocked vs just not online/working.

---

<div class="post-metadata">

**Author:** ![robgill](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/robgill/32/3696_2.png) [@robgill](https://discourse.pi-hole.net/u/robgill)\
**Post date:** [April 25, 2026, 11:39am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/2 "2026-04-25T11:39:06Z")

</div>

> [@Mark\_Leslie](#):
>
> Literally it could just point that “blocked” IP to be a self-hosted (localhost/etc) webpage or image that is provided by the PiHole itself

What you're describing the exact technique that the IP blocking mode uses, which as you're already aware will not work with HTTPS.

---

<div class="post-metadata">

**Author:** ![nero355](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nero355/32/54774_2.png) [@nero355](https://discourse.pi-hole.net/u/nero355)\
**Post date:** [April 25, 2026, 1:46pm UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/3 "2026-04-25T13:46:40Z")

</div>

A topic on a different forum got me thinking the other day :

In which version of Pi-Hole did the old “Blocked by Pi-Hole webpage” disappear exactly ?  
Was that already in version 4.x or later in 5.x ??

It was someone that needed such functionality, but I also can’t remember if it worked with HTTPS webpages or not ?!

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [April 25, 2026, 4:12pm UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/4 "2026-04-25T16:12:10Z")

</div>

> [@Mark\_Leslie](#):
>
> There is an option to edit the Pi-hole FTL configuration file:  
> sudo nano /etc/pihole/pihole-FTL.conf

This file doesn't exist in Pi-hole v6.

Please check our documentation:

- [Blocking mode - Pi-hole documentation](https://docs.pi-hole.net/ftldns/blockingmode/)
- [Configuration (`dns.blocking.mode`) - Pi-hole documentation](https://docs.pi-hole.net/ftldns/configfile/#mode)

---

<div class="post-metadata">

**Author:** ![Mark\_Leslie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mark_leslie/32/55331_2.png) [@Mark\_Leslie](https://discourse.pi-hole.net/u/Mark_Leslie)\
**Post date:** [April 26, 2026, 4:42am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/5 "2026-04-26T04:42:23Z")

</div>

Right, that does work for http but not https, so I thought that it was worth putting it in officially as a feature request. 😎👍

Hopefully something can be worked out. It may not be something that everyone wants on by default, but it would certainly be nice to have it work for http/https and easier to enable/disable in the webpage settings vs command line.

---

<div class="post-metadata">

**Author:** ![Mark\_Leslie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mark_leslie/32/55331_2.png) [@Mark\_Leslie](https://discourse.pi-hole.net/u/Mark_Leslie)\
**Post date:** [April 26, 2026, 4:44am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/6 "2026-04-26T04:44:28Z")

</div>

Sure it can be enabled, but it only works on http sites.

😓

---

<div class="post-metadata">

**Author:** ![Mark\_Leslie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mark_leslie/32/55331_2.png) [@Mark\_Leslie](https://discourse.pi-hole.net/u/Mark_Leslie)\
**Post date:** [April 26, 2026, 4:45am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/7 "2026-04-26T04:45:27Z")

</div>

I'm not sure, but it would be really nice to be on a future release again! 😎👍

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [April 26, 2026, 6:14am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/8 "2026-04-26T06:14:37Z")

</div>

> [@Mark\_Leslie](#):
>
> The feature request is to add an option/check box to DISPLAY that this page was blocked by PiHole vs just null route it. Literally it could just point that “blocked” IP to be a self-hosted (localhost/etc) webpage

Showing a block page once was Pi-hole's default behaviour, but you'd never see such a page when browsing the web nowadays: As pointed out repeatedly, redirecting to a block page generally does not work as soon as HTTPS is involved.

Due to the increasing [adoption of HTTPS](https://www.ndss-symposium.org/ndss-paper/auto-draft-572/) (\>95% in Europe, North America and Oceania, \>80% in Africa, Asia and South America), Pi-hole has switched its default behavior to NULL blocking as early as 2018 with [Pi-hole v4.0](https://discourse.pi-hole.net/t/pi-hole-v4-0-released-with-ftldns-improved-blocking-modes-regex-docker-and-more/11462) , so that the block page was no longer used by default, and the block page itself was removed from Pi-hole in 2022.  
It won't return.

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [April 26, 2026, 7:05am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/9 "2026-04-26T07:05:16Z")

</div>

> [@Mark\_Leslie](#):
>
> Hopefully something can be worked out.

No, it can't.

Modern browsers won't allow to show a page served from localhost (or from any other domain) to replace the real content, when `https` is used.

That's exactly why `https` exists: the browser will identify when the pages are coming from a different domain than expected and show errors like `SSL_ERROR_BAD_CERT_DOMAIN`, `SEC_ERROR_UNKNOWN_ISSUER` or similar messages.

---

<div class="post-metadata">

**Author:** ![Mark\_Leslie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mark_leslie/32/55331_2.png) [@Mark\_Leslie](https://discourse.pi-hole.net/u/Mark_Leslie)\
**Post date:** [April 26, 2026, 7:16am UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/10 "2026-04-26T07:16:08Z")

</div>

Well that's sad… hoping there would be some sort of way for this to happen again then. Apparently it used to be that way.

---

<div class="post-metadata">

**Author:** ![nero355](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nero355/32/54774_2.png) [@nero355](https://discourse.pi-hole.net/u/nero355)\
**Post date:** [April 26, 2026, 1:27pm UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/11 "2026-04-26T13:27:51Z")

</div>

There are were expensive solutions for such setups, so if you happen to have the cash… 😉

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [October 23, 2026, 1:28pm UTC](https://discourse.pi-hole.net/t/blocked-by-pihole/85847/12 "2026-10-23T13:28:18Z")

</div>

Closed on October 23, 2026, 1:28pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
