Can't login to WebUI without using LAN IP or adding a domain name to the hostname.

Expected Behaviour:

I'd like to be able to login using:
http://raspberrypi3/admin as I've been able to do with previous versions of Pi-hole (prior to 6). Without adding either localdomain or my Tailnet domain name, I end up back at the login page.

  • Operating System (Family and Version)
    Raspberry Pi OS Lite (Debian 12)

  • Hardware
    Raspberry Pi 4B

Actual Behaviour:

I am able to successfully login using:
http://192.168.110.46/admin
http://raspberrypi3.localdomain/admin
http://raspberrypi3.tailxxxxx.ts.net/admin
http://pi.hole/admin

Debug Token:

https://tricorder.pi-hole.net/wEp7PiRe/

Your pihole.toml shows that it is configured to use pi.hole as the domain name:

[webserver]
  # On which domain is the web interface served?
  #
  # Possible values are:
  #     <valid domain>
  domain = "pi.hole"