The issue I am facing:
I started with a fresh sd card with clean RaspiOS bookworm 64 bit installed.
I did an update and a full-upgrade
I set a fixed IP address
I installed pihole
Changed that one line in pihole.toml to port = "8888,443os,[::]:8888o,[::]:443os"
I rebooted and pihole web page was available on http://192.168.0.110:8888/admin/
So far so good
I then installed apache2 and php8.2
I added to /etc/apache2/sites-enabled/000-default.conf the virtual host for :8080
\<VirtualHost *:8080\>
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html/flexylist/public"
\<Directory "/var/www/html/flexylist/public"\>
AllowOverride All
Require all granted
\</Directory\>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
\</VirtualHost\>
I added Listen 8080 to /etc/apache2/ports.conf
I rebooted
I opened http://192.168.0.110:8888/admin/
and saw
Error 404: Not Found
Not found
As I understand it, and as does work on another pi that I'm running pihole on, apache2 should serve on :80 and :8080 and pihole's built-in server should serve on :8888
Where am I going wrong, please?
Details about my system:
RaspberryPi Zero 2W
Fresh sd card with clean RaspiOS bookworm 64 bit installed What I have changed since installing Pi-hole:
Installed apache2 and php8.2, enabled virtual host for port:8080 (for another app I'll set up later)
And please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal: