Hallo,
nach einer Neuinstallation von pi-hole sowohl unter Debian 11 und 12 wird das Webinterface nicht mehr angezeigt. In Opera wird der html-code angezeigt und in Firefox teilweise die Beschriftung am linken Bildschirmrand aber ohne Grafik. Aufruf mit pi.hole/admin wird mit Server nicht gefunden beantwortet. Aufruf über IP/admin zeigt das Eingangs beschriebene Verhalten. Jemand eine Idee?
If this is intentional and you want to use only Apache on your system, you will need to configure Apache to run the web interface (with PHP).
Otherwise, you will need to execute pihole -r to repair the installation, to install lighttpd.
You will also need to change lighttpd port (or disable Apache) to avoid conflicts.
Thanks to all of you for the question and helpful reply, which just helped me today, as I had the same problem.
After sudo apt purge apache2 and pihole -r it works here, too.
A little side note for other interested readers (and myself for later reference ):
If installing a complete OS (e.g. Debian) fresh, one should think twice if including the apache webserver is needed if that OS will later contain Pi-Hole. I run Debian bookworm in a virtual machine (on a Synology NAS) and automatically create snapshots, so I can revert some changes in case of problems.