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:
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|
|A||Your IP address|
|A||server1||Your IP address|
|TXT||@||v=spf1 a mx ip4:220.127.116.11 ~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
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:
Finally, reboot the server to apply the change:
Log in again and check if the hostname is correct now with these commands:
[email protected]:~$ hostname server1 [email protected]:~$ hostname -f server1.example.com
Update your system packages before installations
apt update && apt upgrade
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.
User = admin
pass = 5GvfSSSYsdfdYC