How to Install ISPConfig 3 on Debian 13 with the Official Auto-Installer
Install the ISPConfig 3 hosting control panel on a fresh Debian 13 server with the project's auto-installer, then log in, open the FTP ports and keep the panel updated.
ISPConfig is an open-source hosting control panel for managing websites, mail domains, DNS zones, databases and FTP users from a web interface, with separate logins for administrators, resellers and clients. This guide installs ISPConfig 3 with all its services on a fresh Debian 13 server using the project's official auto-installer, and shows the first steps after the installation.
CentOS 6 reached end of life in November 2020, and the ISPConfig project now recommends Debian and Ubuntu: its auto-installer supports Debian 11 to 13 and Ubuntu 22.04 to 26.04 and does not run on RPM-based systems. The CentOS guides on the ISPConfig site are kept for reference only. If you are coming from a CentOS server, plan the move to Debian 13 rather than to AlmaLinux or Rocky Linux. The same command works on Ubuntu 26.04 LTS and 24.04 LTS.
Requirements
- A freshly installed, minimal Debian 13 server (x86-64 or ARM64). Do not run the installer on a system that already hosts websites, mail or databases: it installs and reconfigures the web server, mail server, database server and more.
- At least 2 GB of memory; more if the server will scan mail for viruses, since ClamAV is part of the default installation.
- Root access.
- A fully qualified hostname for the server, for example
server1.example.com, with a DNS A record pointing to the server's public IP address. Use a subdomain, not the bare domain you intend to host mail or a website on.
Step 1: Update the system
Log in as root (or run sudo -i) and install all pending updates:
apt update
apt upgrade
Reboot if a new kernel was installed.
Step 2: Set the hostname
The installer uses the system hostname for the panel, the mail server and the TLS certificate, so set it correctly before you start:
hostnamectl set-hostname server1.example.com
Open /etc/hosts and make sure it maps the public IP address to the full name followed by the short name. Replace 203.0.113.10 with your server's address:
127.0.0.1 localhost
203.0.113.10 server1.example.com server1
Remove any 127.0.1.1 line that carries the hostname. Then check both forms:
hostname
hostname -f
The first command should print server1 and the second server1.example.com. Also confirm that the name resolves publicly to your server, because the installer requests a Let's Encrypt certificate for it and falls back to a self-signed certificate if validation fails:
getent hosts server1.example.com
Step 3: Run the auto-installer
The installer is started with a single command. A bootstrap script downloads the auto-installer, installs PHP for the command line if it is missing, and runs the setup. This command installs the default stack with Apache, opens a passive port range for FTP and enables automatic security updates:
wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
If you prefer curl:
curl https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
To use Nginx instead of Apache, add --use-nginx:
wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades
The installer warns that it will reconfigure the server and asks for confirmation. Type yes and press Enter. The installation then runs unattended and takes a while, depending on the server and its network connection. Do not close the SSH session; running it inside tmux or screen protects you against a dropped connection.
Useful installer options
Everything after -- is passed to the installer. Print the complete, current list before you decide:
wget -O - https://get.ispconfig.org | sh -s -- --help
| Option | Effect |
|---|---|
--use-nginx | Install Nginx instead of Apache |
--use-ftp-ports=40110-40210 | Passive port range for Pure-FTPd, written as start and end separated by a hyphen |
--unattended-upgrades | Install and enable unattended upgrades; --unattended-upgrades=autoclean,reboot adds automatic clean-up and reboots when required |
--no-mail | Do not set up the mail services for management by ISPConfig |
--no-dns | Do not manage DNS zones with ISPConfig |
--no-web | Do not install a web server for hosting sites (for mail-only or DNS-only nodes) |
--no-roundcube | Skip the Roundcube webmail |
--debug | Write verbose log output for troubleshooting |
Step 4: Save the generated passwords
When the installer finishes it prints the password of the ISPConfig admin user and the MySQL/MariaDB root password. They are shown only once in this form. Copy both into your password manager before you clear the terminal.
Step 5: Log in to the panel
The control panel listens on port 8080 over HTTPS:
https://server1.example.com:8080
Log in as admin with the password from the previous step. If the Let's Encrypt request succeeded during installation the browser shows a valid certificate; otherwise you get a warning for the self-signed one, which you can replace later once DNS is correct.
Change the admin password under Tools if you want one of your own, and work through these first tasks:
- Firewall for passive FTP. ISPConfig manages the server's firewall from the panel. Go to System > Firewall, add the firewall record for the server if none exists, and append the passive range to the open TCP ports as
40110:40210. The change is applied within about a minute. - Create a client under Client, then a website under Sites, a mail domain and mailboxes under Email, and a zone under DNS with the DNS wizard.
- Check the services under Monitor, which shows the state of the web, mail, DNS and database services and the system load.
If your hosting provider has its own network firewall in front of the server, open the same ports there: 20, 21 and the passive FTP range, 22 for SSH, 25, 465 and 587 for sending mail, 110, 143, 993 and 995 for mailboxes, 53 TCP and UDP for DNS, 80 and 443 for websites, and 8080 and 8081 for the panel and its bundled applications.
Keeping ISPConfig up to date
Operating system packages are updated with apt as usual, or automatically if you used --unattended-upgrades. ISPConfig itself has its own updater. Run it as root when a new release is announced on the ISPConfig blog:
ispconfig_update.sh
Choose the stable channel, let the script create a backup when it offers to, and accept the defaults for reconfiguring services unless you have edited service configuration files by hand. Security releases are common enough that you should check monthly.
Troubleshooting
- The installer stops because of the hostname.
hostname -fmust return a fully qualified name that is different from the short name. Fix/etc/hostsand run the command again. - The installer says you are not using a TTY. This happens when it is started from a script or a provisioning tool. Run it from an interactive SSH session; the non-interactive flag it names is meant for automated deployments where you accept that nobody confirms the prompt.
- The panel does not load on port 8080. Check that the web server is running with
systemctl status apache2(ornginx) and that no external firewall blocks the port. - The certificate is self-signed. The hostname did not resolve to the server when the installer ran. Correct the DNS record, then run
ispconfig_update.sh --forceand answer yes when it asks whether to create a new ISPConfig SSL certificate.
Frequently asked questions
Can I still install ISPConfig on AlmaLinux, Rocky Linux or CentOS?
The auto-installer only runs on systems with apt, and the project's current installation guides target Debian and Ubuntu. A manual installation on an RPM-based system means building the whole stack yourself without a maintained guide, so for a new server Debian 13 is the practical choice.
Does ISPConfig cost anything?
No. ISPConfig is free software under the BSD licence, with no limit on domains or clients. The project sells a printed manual, a migration tool and a few add-ons, none of which are required to run the panel.
Can I add more servers later?
Yes. ISPConfig can control several servers from one panel, for example a separate mail or DNS node. The additional nodes are installed with the same auto-installer in its interactive expert mode and joined to the master server's database. Plan this before you put many sites on a single machine, because moving services between nodes afterwards is manual work.
Which PHP versions do websites get?
By default the auto-installer adds an external PHP package repository and installs several PHP versions side by side, so you can pick a version per website in the site settings. Check the installer's --help output if you want only the distribution's own PHP version instead.