How to Install ISPConfig 3 on Debian 10 – 11 and Ubuntu 20.04

Install ISPConfig 3 On Ubuntu

In this article, we will show you how to install ISPConfig 3 on a Debian 10-11 And Ubuntu VPS, as well as go through the initial configuration.

ISPConfig is an open-source hosting control panel for Linux which has a user-friendly web interface – with it, users can manage their websites, email addresses, FTP accounts, DNS records, databases, and shell accounts.


  • Ubuntu And Debian Vps
  • Memory – 2GB, recommended 4 GB.
  • CPU – 2-core CPU or 2 vCPUs.
  • Storage space – 10 GB of free hard disk space.
  • DNS Records – FQDN with MX and A DNS-records

Vps Provider With Port 25 Open

The second thing you will need is a VPS server. a public server to install & Setup SMTP.

In My Post i Am Using Digitalocean Vps Server.

Here is a list of some companies:

  1. OVH.
  2. Contabo.
  3. Turnkey internet.
  4. Vpsbg
  5. Hostwinds

DNS Setup

You need to create few records for domain to get started. They are as follows.

Set up ISPConfig 3 on Ubuntu

A@Your IP address
AmailYour IP address
Aserver1Your IP address 10
TXT@v=spf1 a mx ip4: ~all
TXT_dmarc“v=DMARC1;p=none;sp=none;pct=100;adkim=r;aspf=r;rua=mailto:[email protected];ruf=mailto:[email protected];ri=86400;fo=1”

Configure the hostname and hosts

nano /etc/hosts localhost.localdomain   localhost
# This line should be changed to the correct servername: server1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Then edit the /etc/hostname file:

nano /etc/hostname

Finally, reboot the server to apply the change:

systemctl reboot

Log in again and check if the hostname is correct now with these commands:

[email protected]:~$ hostname
[email protected]:~$ hostname -f

Update your system packages before installations

apt update && apt upgrade

Reboot Again

systemctl reboot

Run the autoinstaller

wget -O - | sh -s -- --help
wget -O - | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades

After some time, you will see:

WARNING! This script will reconfigure your complete server!
It should be run on a freshly installed server and all current configuration that you have done will most likely be lost!
Type 'yes' if you really want to continue:

Answer “yes” and hit enter. The installer will now start.

When the installer is finished it will show you the ISPConfig admin and MySQL root password like this:

[INFO] Your ISPConfig admin password is: 5GvfSSSYsdfdYC
[INFO] Your MySQL root password is: kkAkft82d!kafMwqxdtYs

ISPConfig 3 Installation Is Done.

ISPConfig Login:-


User = admin

pass = 5GvfSSSYsdfdYC