The original post: /r/pihole by /u/TheHenanigans on 2024-11-07 17:33:32.
I have a Raspberry Pi 4B with Nextcloud installed and running. I now installed pi-hole via installer (but without lighttpd). I created a pihole.conf
within /etc/apache2/sites-available/
with:
<VirtualHost *:8080>
DocumentRoot /var/www/html/admin/
RewriteEngine on
RewriteRule "^/$" "/pihole/" [R]
</VirtualHost>
And told the ports.conf
to listen to 8080. I also made www-data
member of pihole group.
When trying to access <pi-IP>:8080
via Firefox it forwards to <pi-IP>:8080/pihole
but says
Not Found
The requested URL was not found on this server.
Not Found
The requested URL was not found on this server.
Apache/2.4.62 (Debian) Server at <pi-IP> Port 8080
<pi-IP>
reaches nextcloud with <pi-IP>/index.php/login
What confuses me is that /var/www/html/pihole/
doesn’t exist (although I think it should). Maybe that’s the culprit?
ETA: I ran a2ensite pihole
You must log in or register to comment.