I've been following this tutorial to install PiHole on my 3B+ on Raspberry Pi OS Lite. I had to install dhcpcd as the pi didn't have it installed and I needed to update the /etc/dhcpcd.conf file. This is the contents of the file:
# Persist interface configuration when dhcpcd exits.
persistent
# vendorclassid is set to blank to avoid sending the default of
# dhcpcd-<version>:<os>:<machine>:<platform>
vendorclassid
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
# Request a hostname from the network
option host_name
# Most distributions have NTP support.
#option ntp_servers
# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private
# static IP configuration:
interface eth0
static ip_address=192.168.0.77/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 1.1.1.1
Expected Behaviour:
Open the web interface in browser
Actual Behaviour:
After running through the installation I'm not able to access the web interface on <STATIC_IP>/admin or pi.hole/admin. From my local machine, I'm able to curl it
As you noticed, the web interface is running and it is working, but for some reason Chrome is not able to reach the IP.
Is the "local machine" the same machine where Chrome is installed?
If it is, Chrome is probably using a different DNS server (try to disable "Secure DNS" or something similar in Chrome settings).
That fixed it! I enabled the Local Network privacy setting on Mac settings for Chrome and Firefox and I can access the interface! Still can't access http://pi.hole/admin but I can live with that for now