Pihole & reverse proxy caddy for https

The error is because the client is asking for www.alohatube.com at the IP address handled by Caddy. Since Caddy only knows about pihole.xyz.xx it responds with a generic response that the alohatube.com domain is not known to Caddy, which is true. With that Caddy configuration the only time the /pihole/index.php would be served is if you had a client try to access pihole.xyz.xx/invalidpage.

3 Likes