Skip to content

Instantly share code, notes, and snippets.

@kmagdziak
kmagdziak / gist:49daac58bad7071e36a738da8aadb58e
Last active November 5, 2021 04:36
Running Pi-hole Docker Container with different docker port 80 mapping
Issue: Changing the docker port 80 to hosted port not 80 causes the following message:
[ERROR]: Unable to parse results from queryads.php: Unhandled error message (Invalid domain!)
## Solution courtesy of unitpas, modified by kmagdziak
docker exec -it pihole apt-get update
docker exec -it pihole apt-get install nano
docker exec -it pihole bash
nano /var/www/html/pihole/index.php