ISPConfig is an open-source control panel that allows users to manage multiple servers from a single interface. Designed for Linux-based systems, it enables administrators to handle a wide range of hosting services, including web, email, DNS, and FTP, among others. ISPConfig supports Apache and Nginx web servers, and it provides a user-friendly, web-based dashboard for managing websites, user accounts, and databases. This tool is popular among web hosting providers and system administrators due to its flexibility, scalability, and ease of use. ISPConfig also offers a multi-language interface, making it accessible to a global audience.

In this guide, we will walk you through the steps to install the ISPConfig Hosting Control Panel on Ubuntu 24.04 using the auto installer script provided by ISPConfig. This tutorial covers the installation of ISPConfig with the Apache web server.

Prerequisites

Before you begin, ensure you have the following:

  • A fresh installation of Ubuntu 24.04 LTS.
  • Root or sudo access to the server.
  • A valid hostname for the server. It should exist in DNS and point to your server with a DNS A-Record. Port 80 must be open to get a free let’s Encrypt SSL certificate for the server.
  • Basic understanding of Linux server administration.

Step 1: Update the Server

Before installing any software, it’s always a good practice to ensure that your server is up to date. Run the following command to update the package lists and upgrade all installed packages:

sudo apt update && sudo apt upgrade -y

Step 2: Set a Proper Hostname

The ISPConfig installer requires a valid hostname to function correctly. Make sure your server has a fully qualified domain name (FQDN) set. The hostname must exist in DNS to get a free Let’s Encrypt SSL certificate. You can check the current hostname with:

hostnamectl

If you need to set or change the hostname, use the following command:

sudo hostnamectl set-hostname yourserver.domain.com

Make sure to replace yourserver.domain.com with the actual FQDN of your server.

Step 3: Install ISPConfig via the Auto Installer

The ISPConfig auto installer simplifies the installation process, as it configures everything for you. The installer will set up the Apache web server, MariaDB database server, Postfix, Dovecot, BIND, pure-ftpd, and other services necessary for hosting. You can run the installation script by executing the following command:

wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades

Explanation of the Command:

  • wget -O - https://get.ispconfig.org: Downloads the ISPConfig installer script and pipes it to the shell.
  • sh -s --: Tells the shell to execute the downloaded script.
  • --use-ftp-ports=40110-40210: Configures ISPConfig to use the custom FTP ports in the range 40110-40210, which are used to avoid firewall issues.
  • --unattended-upgrades: Enables automatic system updates for security and stability.

The script will automatically install and configure the following components:

  • Apache: Web server to serve websites.
  • MariaDB: Database server to manage databases.
  • Postfix: Mail Transfer Agent (MTA) for sending and receiving emails.
  • Dovecot: IMAP and POP3 server for email.
  • BIND: DNS server for domain name resolution (optional).
  • PureFTPd: FTP server to upload and manage files.

During the installation, the script may ask for certain configuration details such as:

  • Password for the admin user.

Please provide the correct information or use the default values if you’re unsure. The script is designed to streamline this process, so most of the heavy lifting will be done automatically.

Step 4: Completing the Installation

The installation process might take several minutes, depending on your server’s resources and internet connection. Once the installation is complete, the ISPConfig interface will be accessible via a web browser.

The default URL to access the ISPConfig control panel is:

https://yourserver.domain.com:8080

Step 5: Log In to ISPConfig

Open a web browser and navigate to the ISPConfig panel URL (as shown above). The auto-installer has configured a free Let’s Encrypt SSL certificate to protect the login if your server is accessible from the internet and has a valid hostname.

Log in using the following default credentials:

  • Username: admin
  • Password: The auto-installer script shows you the password at the end of the installation, or you enter a custom password during installation.

After logging in, you’ll be presented with the ISPConfig dashboard, where you can start managing your web hosting services, including websites, mail servers, DNS, and more.

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04 linux ubuntu

In case you have to reset the password for the admin user, use this command:

sudo ispc user set-password admin

Step 6: Post-Installation Steps

Change the Admin Password

Once logged into ISPConfig, you might want to change the default password. Navigate to:

Tools > User User Settings

Change the password for the admin user.

Step 7: Optional Configurations

Firewall Configuration

You can enable and configure the UFW firewall using ISPConfig GUI. navigate to:

System > Firewall > Add Firewall record

Check that all needed ports are listed there. If you use a custom SSH port, you must add it. Then click on “save” to apply the changes.

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04 linux ubuntu

Backup ISPConfig Configuration

It’s important to back up your ISPConfig configuration and settings regularly. You can automate this process using cron jobs or manual backups through the control panel itself.

To manually back up ISPConfig, follow these steps:

  1. Log in to your server and run the following commands to back up the /etc/ispconfig directory and your databases:
sudo tar -czvf ispconfig_backup.tar.gz /etc/ispconfig
sudo mysqldump -u root -p --all-databases > alldb_backup.sql
  1. Store these backups securely to avoid data loss.

Conclusion

Congratulations! You’ve successfully installed ISPConfig with Apache on Ubuntu 24.04 using the auto-installer. ISPConfig provides a powerful, open-source control panel for web hosting, databases, email services, and DNS management.

Be sure to explore the many features of ISPConfig, including site management, user permissions, and server monitoring. With the auto-installer, managing a hosting environment on Ubuntu becomes much easier.