-
Notifications
You must be signed in to change notification settings - Fork 1.9k
VPS
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.
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).
To download AdGuard Home and unpack it execute following commands:
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
tar xvf AdGuardHome_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)
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.
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.