Lost access to web interface

Hello everyone,

My Pi-hole installation (Pi zero 2 W, RaspOS Lite) was running fine (and still appears to be running fine so far as I can tell), but after installing PiVPN with Dynamic DNS (I have not done the port forwarding step on my router yet) I have lost access to the Pi-hole web interface, yet I can still ssh into my Pi.

I also changed from using WIFI to an ethernet connection.

I disabled WIFI, and changed values in various config files to eth0 (pihole.toml and Wireguard setupVar.conf). But I haven't been able to figure out what has happened. Please help.

Here is my debug token:
https://tricorder.pi-hole.net/XTTREzdo/

Thanks in advance for any help.

Best wishes

To clarify your problem, please elaborate on the following:

  1. Does the web admin interface work when you access it from a local client? If so, what URL are you using to access the web admin interface?
  2. The web access worked until you installed PiVPN?

Hello,

  1. The web admin interface no longer works when I try to access it from a local client through the static IP I assigned to my Pi on my router.
  2. Yes, web access worked before installing PiVPN.

Thanks

What is the complete URL you are using to access the web admin interface?

It is 192.168.1.167/admin/login

Try this:

http://192.168.1.127/admin

That worked. Thanks very much!

But, why did the address change from the static IP I configured on my router? Sorry for the noob question.

Best wishes

Hi again,

New problem now. I am back on the Pi-hole dashboard, but nothing seems to be getting blocked any more.

Before, when watching youtube videos on my ps5, I could see the total queries and queries blocked tally counters going up. They are no longer increasing now.

Has the IP address for Pi-hole functionality now changed to the new address of 192.168.1.127, even though the Pi still has the address of 192.168.1.167 on the router?

Thanks

I have no idea. But, please note that the best way to set a static IP on your Pi is to do so on the Pi itself. Your router assigns a reserved IP, and you have found this reservation can change.

If the Pi has a static IP configured, it will ignore any IP offered by a DHCP server..

Yes.

You can confirm the IP address at any time by running this command from the Pi terminal:

ip addr

It is also shown in your debug log, which you can generate any time and read at home.

Yes, the problem was that the DNS server address on my router was still directing towards the ...167 address. Although now, I have a new problem in that my router won't let me change to the ...127 address.

When I input the new address, the "configuration has been applied" notification pops up, but the input field instantly clears and goes back to a blank value.

I think I might have to contact my router manufacturer about this one.

Thanks for all your help.

Best wishes