# Web 6.6.1, changed behaviour returning 404 for / when webserver.serve\_all false

**URL:** <https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964>\
**Category:** Help\
**Created:** [October 18, 2026, 7:14am UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964 "2026-10-18T07:14:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![billiardmarker](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@billiardmarker](https://discourse.pi-hole.net/u/billiardmarker)\
**Post date:** [October 18, 2026, 7:14am UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964/1 "2026-10-18T07:14:43Z")

</div>

Possible security issue?

I have a custom index.html in my Pi-Hole webserver / directory. When accessed from outside the local domain this now gives a 404 error. This is noted in the release summary at

[https://pi-hole.net/blog/2026/10/17/pi-hole-ftl-v6-8-web-v6-6-1-and-core-v6-5-released](https://pi-hole.net/blog/2026/10/17/pi-hole-ftl-v6-8-web-v6-6-1-and-core-v6-5-released)

The 404 status is accompanied by a custom "Oops! Page not found" banner that contains a link to the Dashboard.

My feeling is that this sort of possibly probing http request should not give any indication about what services may exist, so either 404 without a custom response page, or perhaps better 403 Forbidden would perhaps be more appropriate.

Environment Pi OS 6.18.50+rpt-rpi-v7 on Pi 3B+.

---

<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:** [October 18, 2026, 4:34pm UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964/2 "2026-10-18T16:34:11Z")

</div>

I agree :  
In the past I also use to hide any information about my Apache configuration for all the 404-like pages and error pages and son on when I use to host stuff myself on the internet 🙂

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [October 18, 2026, 7:58pm UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964/3 "2026-10-18T19:58:14Z")

</div>

This is intended. With `webserver.serve_all = false`, Pi-hole only serves the dashboard and the API, and until v6.8 `/` was the one path that ignored the setting. The 404 depends on the host name in the request, not on where it comes from: `http://pi.hole/` (or whatever `webserver.domain` is set to) still redirects to the dashboard, while any other name or the bare IP gets the 404.

I don't see a security issue in the error page. It does reveal a Pi-hole, but so does every other path on that port, e.g., the login page under `/admin/`, and a bare 404 or a 403 would not hide that either. If the web interface should not be reachable from some networks, restrict it with `webserver.acl` or a firewall.

If you want your `index.html` back at `/`, set `webserver.serve_all = true`.

---

<div class="post-metadata">

**Author:** ![billiardmarker](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/b/e47774/32.png) [@billiardmarker](https://discourse.pi-hole.net/u/billiardmarker)\
**Post date:** [October 19, 2026, 6:27am UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964/4 "2026-10-19T06:27:08Z")

</div>

OK, that makes sense. Thanks for the comprehensive explanation DL6ER.

---

<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:** [November 9, 2026, 6:28am UTC](https://discourse.pi-hole.net/t/web-6-6-1-changed-behaviour-returning-404-for-when-webserver-serve-all-false/87964/5 "2026-11-09T06:28:03Z")

</div>

Closed on November 9, 2026, 6:28am UTC

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