Hello and kind regards.
I am facing some troubles on accessing the admin interface on my pi-hole installation. The basics:
Raspberry Pi 5 16 GB running on newest Bookworm
PiHole 6 newest version
NGinx installation newest version utilizing ports 80 and 443
Dynamic Ip by No-IP, handled by router
SSL certificates working (HTTPS access to self-hosted domain with WordPress installation working!)
Ok, now the unusual behaviour...
As mentioned I am running a self-hosted WordPress installation for development purposes. The site can be accessed without any problems from the internet via HTTPS and locally by using the Raspberry's IP address so port forwarding at the router is correctly defined.
I installed Pi-Hole, directly modifying the .toml file afterwards to make use of port "number1" (imagine a 4 digit number here) for HTTP and "number2" (imagine a different 4 digit number here) for HTTPS.
I edited that .toml file two times just to make sure port forwarding is set correctly. Both times I triple checked Pi-Hole is using the defined ports in order not to get in any troubles with the NGinx server installation. Looks like Pi-Hole is working fine, it accepts additional blocking lists. Pi-Hole is -> NOT <- configured to work as DNS server!
Now what is strange:
I can reach the Pi-Hole admin interface from the internet by using the domain name registered at No-IP and adding the pre-defined (not standard) port number at HTTP. This does -> NOT <- work when using HTTPS in front of the domain name and adding the dedicated second port number: Site can not be found. Tried both with at least three different port number combinations like 8080 & 8443, 8100 & 8450 or alike. HTTP access is working, HTTPS access is NOT working.
When trying to reach the admin interface locally by using the Raspberry's IP address (reserved statically in dependency on the MAC address of the Pi) the web interface appears. But after entering the password - which is working over the internet - I keep being thrown back right exactly at that interface - with NO password wrong or whatever warning. Looks like it is just somewhat "reloaded".
Am I missing something? Any idea?
Thanks for any possible reply in advance!
J