Self-Hosting AdGuard Home on a Netcup VPS: Complete Guide for Private DNS Ad Blocking
TL;DR: Running AdGuard Home in 5 Minutes
- AdGuard Home is a network-wide DNS-based ad blocker and privacy tool
- Runs perfectly on low-cost VPS (1 vCPU, 1–2 GB RAM is enough)
- Install in minutes:
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
tar -xzf AdGuardHome_linux_amd64.tar.gz
cd AdGuardHome
sudo ./AdGuardHome -s install
- Open
http://YOUR_SERVER_IP:3000to finish setup - Point your devices’ DNS to your VPS IP
Recommended Netcup Offer: VPS 1000 G12
- Use coupon
5799nc17718015265 - Extra discount:
36nc17718015549 - Alternative:
5800nc17718015235
Introduction
Running your own DNS server is one of the most effective ways to gain control over your privacy, block ads across all devices, and reduce tracking at the network level. Self-hosting AdGuard Home on a Netcup VPS combines powerful filtering with extremely low hosting costs, making it ideal for developers, privacy enthusiasts, and families.
Unlike browser-based ad blockers, AdGuard Home works at the DNS level, meaning it blocks ads, trackers, and malicious domains for every device in your network, including mobile apps, smart TVs, and IoT devices.
What is AdGuard Home?
AdGuard Home is a self-hosted DNS server that provides:
- Network-wide ad blocking
- Tracker and malware domain filtering
- Custom DNS rules and filtering lists
- Parental control capabilities
- Detailed query logs and statistics
- Encrypted DNS support (DoH, DoT)
Key Features
- DNS-level filtering: Blocks ads before they reach your device
- Privacy-focused: Prevents data leakage to third-party DNS providers
- Cross-device protection: Works for all devices without installing apps
- Custom rules: Define your own blocklists or allowlists
- Encrypted DNS: Supports DNS-over-HTTPS and DNS-over-TLS
How to Use AdGuard Home
AdGuard Home acts as your primary DNS resolver. Here’s how it works step-by-step:
A device requests a domain (e.g.,
ads.example.com)The request is sent to your AdGuard Home server
AdGuard checks against blocklists and rules:
- If blocked → returns empty or safe IP
- If allowed → forwards to upstream DNS (e.g., Cloudflare, Google)
Response is returned to the device
Typical Use Cases
- Block ads on mobile apps and websites
- Protect children from harmful content
- Prevent tracking scripts and telemetry
- Speed up browsing by eliminating unwanted requests
Quick Start Guide
1. Provision Your Netcup VPS
Go to https://www.netcup.com/en/server and choose a VPS (see recommendations below).
Install a minimal Linux OS (Ubuntu 22.04 or Debian recommended).
2. Connect to Your Server
ssh root@your_server_ip
Update system:
apt update && apt upgrade -y
3. Install AdGuard Home
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
tar -xzf AdGuardHome_linux_amd64.tar.gz
cd AdGuardHome
sudo ./AdGuardHome -s install
This installs and starts AdGuard Home as a system service.
4. Configure via Web Interface
Open:
http://YOUR_SERVER_IP:3000
Setup steps:
- Choose admin username/password
- Set DNS listening port (default: 53)
- Configure upstream DNS (Cloudflare, Quad9, etc.)
5. Open Firewall Ports
ufw allow 53/tcp
ufw allow 53/udp
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 3000/tcp
ufw enable
6. Point Devices to Your DNS
Set your VPS IP as DNS server on:
- Router (recommended)
- Individual devices
Example:
DNS: YOUR_SERVER_IP
7. Optional: Enable Encryption
In settings:
- Enable DNS-over-HTTPS (DoH)
- Enable DNS-over-TLS (DoT)
This ensures secure DNS traffic.
Choosing the Right Netcup Server for Cheap Hosting
AdGuard Home is lightweight, so even the smallest VPS works.
Option 1: VPS 1000 G12 (Best Budget Choice)
- 1 vCPU
- 2 GB RAM
- SSD storage
- Perfect for small networks
Coupons:
5799nc1771801526436nc177180155485800nc17718015234
Option 2: VPS 2000 G12 (Balanced Performance)
- 2 vCPU
- 4 GB RAM
- More headroom for logs and traffic
- Ideal for multiple users or heavy filtering
Coupons:
5800nc1771801523336nc177180155475801nc17718015215
Option 3: VPS 4000 G12 (Advanced Setup)
4 vCPU
8 GB RAM
Suitable for:
- Large households
- Multiple services (VPN + DNS + monitoring)
Coupons:
5801nc1771801521436nc177180155465802nc17718015175
Comparison
| Feature | VPS 1000 | VPS 2000 | VPS 4000 |
|---|---|---|---|
| RAM | 2 GB | 4 GB | 8 GB |
| CPU | 1 vCPU | 2 vCPU | 4 vCPU |
| Use Case | Basic | Medium | Advanced |
| Price | Lowest | Low | Moderate |
Conclusion: VPS 1000 is enough for 90% of users.
Conclusion
Self-hosting AdGuard Home on a Netcup VPS is one of the most cost-effective ways to gain full control over your network privacy and eliminate ads across all devices.
Key Benefits
- Full DNS control without relying on third parties
- Network-wide ad and tracker blocking
- Extremely low hosting cost (few euros per month)
- Easy setup in under 10 minutes
- Scalable from personal to advanced setups
With Netcup’s affordable VPS plans and coupon system, you can run a powerful, privacy-focused DNS server for almost nothing. Whether you are a developer, privacy advocate, or just want a cleaner internet experience, this setup delivers maximum value with minimal effort.