I've set up Pi-hole on my home unbuntu server, Pi-Hole itself is working but I cannot access the web interface. All I get back is "Cannot GET /admin" when I try to access it. This is the case for both using pi.home/admin or IP/admin
Debug Token: https://tricorder.pi-hole.net/IIGx5xpn/
Your debug log shows you configured Pi-hole web server to use ports 81 and 444:
port = "81o,444os,[::]:81o,[::]:444os" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"
These are not the default ports.
In this case, you need to explicitly add them to the URL.
Try these URLs:
Note:
The default ports (80 and 443) are in use by caddy.
If you don't want to add the ports to the web interface URL, you will need to configure caddy as a reverse proxy.
Alternatively, you can disable caddy and configure Pi-hole to use the default ports.
After disabling caddy, run this command:
sudo pihole-FTL --config webserver.port '80o,443os'
Then you will be able to access the web interface without adding the ports to the URL:
Thank you. Adding the ports worked. For my purposes I'll stick to that.