Skip to content
Simon Zolin edited this page Apr 23, 2019 · 16 revisions

To run AdGuard Home on a VPS, you need a server with Debian 8 or 9, x64 or x32.

Among possible solutions are Vultr, 1&1, Cloudways, HostGator, Digital Ocean, Bytemark and many more. AdGuard is not affiliated with any of these or other VPS services.

Initial installation

First let's ensure that your VPS has necessary minimal requirements, run this as root:

apt-get install sudo nano bind9-host

Go to AdGuard Home page and download binaries for your architecture (64-bit Linux in this example).

As of the time of writing, the latest version is v0.95.

To download AdGuard Home and unpack it execute following commands:

wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.95/AdGuardHome_v0.95_linux_amd64.tar.gz
tar xvf AdGuardHome_v0.95_linux_amd64.tar.gz

You can find out the directory where you've unpacked it to by running these commands:

cd AdGuardHome
pwd

Run sudo ./AdGuardHome -s install to install AdGuard Home as a system service.

Here are the other commands you might need to control the service.

  • AdGuardHome -s uninstall - uninstalls the AdGuard Home service.
  • AdGuardHome -s start - starts the service.
  • AdGuardHome -s stop - stops the service.
  • AdGuardHome -s restart - restarts the service.
  • AdGuardHome -s status - shows the current service status.

You can verify that it's working properly by running this command:

host doubleclick.net 127.0.0.1

If everything works correctly, you will get this output:

Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

Host doubleclick.net not found: 3(NXDOMAIN)

Visit the web interface

You can access your AdGuard Home web interface on port 3000 by typing this in your browser — http://1.2.3.4:3000/

Replace 1.2.3.4 with the IP address of your VPS.

Configure your devices to use your AdGuard Home

Now, once you've established that AdGuard Home works on your VPS, you can use it on your machine by changing system DNS settings to use your VPS's public IP address.