Raspian lite
lighttpd
apache2
pihole
raspberry pi 4
Yesterday I set up PiHole on a raspberry pi 4 for the first time, I’ve had it for a few years and never used it. I installed pihole, unbound, and pivpn. It’s all working well.
I understand pihole uses lighttpd.
I’m trying to restart apache2, which I just installed, and I’m unable to because lighttpd is using port 80, which apparently apache does as well.
So, I’m wondering if I change the port number (never done something like this before) will it affect the way pihole works, will I have to make other changes elsewhere (in my router, for instance)?
So, I went to do as you've suggested and before doing anything I thought I'd just reboot the Pi. After restart I'm able to restart apache and it's using port 80. Does that mean pihole is now using apache? Because I'm still able to access the pihole ui without issue. I didn't do anything.
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:
As I said I didn’t make any changes, apache2 just took over lighttpd’s role after a reboot. So I just uninstalled apache2 and did a reboot of the pi and it’s working. I can access the pihole ui on 192.168.50.168/admin