Pihole only working on local host

this tells me your device is not configured to use Pi-hole since it doesn't know the pi.hole domain, which is known when you clients are using Pi-hole.

@Jeroen1 has it right. You can either set each device manually to use Pi-hole as their DNS server, or set it on your router's config page (under LAN or DHCP options).

We have an FAQ on this to help you: