Installed Pi-hole, cannot reach admin page

Hello

Expected Behavior:

Debian Bullseye
Raspi OS for PC
on virtualbox 7.0 on win 10

installed pi-hole, no issues during installation.
I expect to reach the admin page at https://pi.hole/admin Or https://10.0.0.219

Actual Behavior:

When I try to access the web browser admin page, I get "This site can't be reached" OR "403 forbidden"

Debug Token:

(https://tricorder.pi-hole.net/UUSoKFdY/)

It's http not https there is no TLS handling for the admin page.

Hello,

I tried with 'http://pi.hole/admin' and 'http://10.0.0.219'

Still the issue persists.

thank you for the reply

The only thing I see in the debug log as an error is "/etc/lighttpd/conf.d does not exist"

Are you able to access 10.0.0.219? What does dig or nslookup pi.hole show as the IP address?

lighttpd is working correcly:

*** [ DIAGNOSING ]: Ports in use
[✓] udp:0.0.0.0:53 is in use by pihole-FTL
[✓] udp:[::]:53 is in use by pihole-FTL
[✓] tcp:0.0.0.0:53 is in use by pihole-FTL
[✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
[✓] tcp:0.0.0.0:80 is in use by lighttpd
[✓] tcp:[::]:53 is in use by pihole-FTL
[✓] tcp:[::1]:4711 is in use by pihole-FTL
[✓] tcp:[::]:80 is in use by lighttpd
*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Lighttpd configuration test
[✓] No error in lighttpd configuration
*** [ DIAGNOSING ]: Dashboard headers
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!

nslookup pi.hole:
Server: 2001:558:feed:1
Address: 2001:558:feed:1#53

  • Server can't find pi.hole: NXDOMAIN

I cannot acces X.219 from the browser

That IP address is not the IP address of the Pi-hole server.

Can you ping the IP address? Are you able to actually connect to that server in any way?

The DHCP server for your network is not sending Pi-hole's IP address in the lease information.


*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 317 bytes from eth0:10.0.0.1
     Offered IP address: 10.0.0.219
     Server IP address: 10.0.0.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 10.0.0.1
      lease-time: 172800 ( 2d )
      renewal-time: 86400 ( 1d )
      rebinding-time: 151200 ( 1d 18h )
      netmask: 255.255.255.0
      broadcast: 10.0.0.255
      router: 10.0.0.1
      dns-server: 75.75.75.75
      dns-server: 75.75.76.76

Yes I can successfully ping 10.0.0.219 from the windows machine running the VM

Would that be caused by a VPN issues?

I just read that my ISP does not allow us to change the DNS in the router config. There is no option to modify where the DNS points to.

I don't know, you haven't mentioned any VPN being used.

Then you'll need to configure the clients to use the Pi-hole IP address as the DNS server manually and ignore the DHCP served IP addresses.

From the Windows machine please run curl -IL http://10.0.0.219 and post the output.

Just remembered the VPN running.

I shut it off and disabled the VPN tunnel.

I set the win PC host DNS to point to 10.0.0.219.

I can resolve websites, so pi-hole seems to be working.

I just cannot reach the admin page from the RasPi VM

That curl command I asked you to run and report the output from would be a really good way to start figuring out why this is happening.

1 Like

Do you have a setting in your browser which forces all http requests to become https requests? If so, turn it off or find where you can make an exception for pi.hole or 10.0.0.219.

For example in Firefox this is in Settings and called "HTTPS-Only Mode" and you can turn it off or turn it on but add exceptions.

Bro just do

10.0.0.219/admin

1 Like

Hello all

I just booted a Ubuntu VM up (not RasPi OS flavor) and everything is running fine, even with unbound setup!

Thank you all for the help.

please mark as resolved.

Chach, going to the IP address will auto redirect to /admin.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.