Self-host Pi-hole
Network-wide ad blockingdeployed & timed by usprices checked · Jul 2026
A DNS sinkhole that blocks ads and trackers for every device on your network — no client software needed. Runs on almost nothing and gives you a tidy dashboard of what your network is really talking to.
Key facts
CategoryNetwork-wide ad blocking
LicenseEUPL-1.2
StackC (FTLDNS), PHP
Min RAM512 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 512 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# Pi-hole — set TZ, WEBPASSWORD, and map port 53 (tcp+udp)
# grab the official compose, then:
docker compose up -d # → http://SERVER_IP/admin
# point your router's DNS at the server IP