Skip to content

Command Palette

Search for a command to run...

Self-host AdGuard Home

Network-wide ad blocking
prices checked · Jul 2026

A single-binary, network-wide DNS ad and tracker blocker with a modern UI, built-in DoH/DoT encrypted DNS, and per-client rules out of the box. The polished alternative to Pi-hole.

Key facts

CategoryNetwork-wide ad blocking
LicenseGPL-3.0
StackGo
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:

# AdGuard Home — map ports 53 (dns) and 3000 (first-run setup)
# grab the official compose, then:
docker compose up -d  #  →  http://SERVER_IP:3000
# complete the wizard, then point router DNS at the server

Head-to-head

More in Network-wide ad blocking