Hello, as the title states I am unable to load the admin interface. I did a fresh install of pihole on a semi-fresh install of Debian on a RaspberryPI 4. Port 80 is already in use by Apache for Nextcloud but it seems that the pihole installation process did not catch this (I was under the impression that if port 80 is already being used, the pihole.toml file will say that the port should be 8080, but it didn't). I went into the pihole.toml file and changed the port to 8080 and did a sudo systemctl restart pihole-FTL.
Now, if I go to 192.168.1.101:8080/admin, I get "Error 404: Not Found
Not found" but magically the url somehow gets /login appended to the end without my intervention. If I go to https://192.168.1.101/admin/, I get an index directory of files that seem to be related to the pihole interface, but no actual interface.
Any idea what I'm doing wrong? ufw has port 8080/tcp open.
Yes, you need to authenticate to use the admin page.
[2025-03-31 18:55:56.770 CEST 6547] Initializing HTTP server on ports "8080,8443s,[::]:8080,[::]:8443s"
[2025-03-31 18:56:39.765 CEST 6547] Authentication required, redirecting to /admin/login
What happens when you try http://pi.hole/admin/ as the URL?
Going to http://pi.hole/admin gives me "Hmm. We’re having trouble finding that site" in Librewolf and "This site can’t be reached" in ungoogled-chromium.
I allowed 8443 under ufw before attempting to access both sites.
Also, if I go to https://192.168.1.101:8443/ without "admin" appended, I get: "Error 403: Forbidden
Error: Directory listing denied"
Thank you for the follow up! I am very grateful for everyone being willing to help me out.
Unfortunately clicking both links gives me a 404. But it is appending "login" to the end of the address by itself, which means it is finding something related to pihole and isn't just finding nothing, so I'm hopeful.
ufw is allowing both 8080 and 8443.
edit to add: just to check, i ssh tunneled into the RaspberryPi with port 8080 and still got a 404.