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.

Requirement

  • 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

TypeHostValue
A@Your IP address
AmailYour IP address
Aserver1Your IP address
MX@mail.yourdomain.com 10
TXT@v=spf1 a mx ip4:138.68.14.182 ~all
TXT_dmarc“v=DMARC1;p=none;sp=none;pct=100;adkim=r;aspf=r;rua=mailto:mail@Yourdomain.com;ruf=mailto:mail@Yourdomain.com;ri=86400;fo=1”

Configure the hostname and hosts

nano /etc/hosts
127.0.0.1 localhost.localdomain   localhost
# This line should be changed to the correct servername:
127.0.1.1 server1.example.com 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
server1

Finally, reboot the server to apply the change:

systemctl reboot

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

root@server1:~$ hostname
server1
root@server1:~$ hostname -f
server1.example.com

Update your system packages before installations

apt update && apt upgrade

Reboot Again

systemctl reboot

Run the autoinstaller

wget -O - https://get.ispconfig.org | sh -s -- --help
wget -O - https://get.ispconfig.org | 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:-

https://server_IP_address:8080/

User = admin

pass = 5GvfSSSYsdfdYC

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply Cancel reply