Log inSign up

Build a FASTPANEL web host on a fresh server

Start with a clean Ubuntu 24.04, Ubuntu 22.04 or Debian 12 server, download install_fastpanel.sh from the vendor repository and run it with sudo bash. The script installs Nginx, Apache, PHP and a database server, then prints a login for https://198.51.100.24:8888 with the user fastuser. After activating the license on first login you create sites, databases, FTP users and certificates from the panel.

Topic: Control panels · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What does FASTPANEL set up on the server?

FASTPANEL is a hosting panel built around Nginx as the front web server, with Apache or PHP-FPM handling PHP behind it. It installs several PHP versions side by side, MySQL or MariaDB, an FTP server and an optional mail stack, and wraps them in a web interface on port 8888. Each site gets its own system user, so one compromised application cannot read the files of another. Built-in tools cover Let's Encrypt certificates, scheduled backups, cron jobs, a file manager and per site logs.

Like other full panels it treats the server as its own: it manages the packages it installs and their configuration files. Plan your server around the panel rather than adding the panel to an existing setup.

How should I prepare the server?

Begin from a freshly deployed image. If the instance already ran other software, reinstall it from the Settings tab of the instance page, which wipes the disk and shows a new root password on the Overview tab (details in reinstalling an image). The vendor lists Ubuntu 22.04 and 24.04 and Debian 12 among its supported systems; check their current list before using Debian 13.

Give the panel at least 1 GB of RAM, and 2 GB or more once MySQL and a few PHP sites share the machine. Then update everything and set a host name that resolves to the server, such as host.example.net:

sudo apt update && sudo apt full-upgrade -y
sudo hostnamectl set-hostname host.example.net
sudo reboot

The host name guide covers the matching /etc/hosts entry.

How do I install FASTPANEL?

Fetch the vendor script, review it and run it as root through sudo:

curl -fsSLo install_fastpanel.sh https://repo.fastpanel.direct/install_fastpanel.sh
less install_fastpanel.sh
sudo bash install_fastpanel.sh

The installer adds the FASTPANEL repository, installs the panel and the default stack, and ends with a message holding the panel address, the user name fastuser and a generated password. Save those details in your password manager right away. Then confirm the panel is listening:

sudo ss -tlnp | grep 8888
systemctl list-units --type=service | grep -i fast

The second command shows the panel service names on your system, which you need for restarts and log lookups later.

How does license activation work?

On the first visit to https://198.51.100.24:8888, accept the browser warning about the temporary certificate, sign in as fastuser, and the panel asks you to accept its terms and activate a license tied to an email address. The vendor offers more than one license type; read the options on their site and pick the one that fits your use. Activation needs outgoing HTTPS from the server, which works out of the box on our network.

Once activated, change the generated password under the user menu and add your own administrator account if several people will log in.

How do I restrict access to port 8888?

Allow the panel port only from the address you work from, while leaving web traffic open to everyone. Swap 203.0.113.7 for your public IP:

sudo ufw allow OpenSSH
sudo ufw allow 80,443/tcp
sudo ufw allow from 203.0.113.7 to any port 8888 proto tcp
sudo ufw enable
sudo ufw status numbered

Add FTP or mail ports only if you use those features. When your IP changes often, keep 8888 closed and tunnel instead: ssh -L 8888:127.0.0.1:8888 deploy@198.51.100.24, then open https://localhost:8888. The UFW guide and Fail2ban guide add more protection for SSH itself.

How do I create a site with HTTPS?

Create DNS records first: an A record for example.net and www.example.net pointing to 198.51.100.24, plus AAAA records for 2001:db8:4f2a::24 (see the DNS records tutorial). In the panel choose Create site, enter the domain, and pick the PHP mode and version. FASTPANEL creates a system user and a web root under /var/www/, which you can fill over SFTP or through the file manager.

Open the site, go to SSL certificates, request a Let's Encrypt certificate for both names and turn on the HTTPS redirect. Renewal is automatic. A quick test from your computer:

curl -I http://example.net
curl -I https://www.example.net

The first call should answer with a redirect to HTTPS and the second with 200.

How do I add a database for an application?

Use Databases, Create, choose the engine and set a name, user and password, then link it to the site so it shows up in the site overview. The panel can install phpMyAdmin for browser access. Applications on the same server connect to localhost; keep port 3306 closed in the firewall unless a remote host truly needs it, in which case read the remote database access guide.

What about sending email from sites?

Configure your applications to send through an authenticated SMTP relay on port 587. Port 25 may not be open for direct delivery from your server, so ask support with a ticket before planning a full mail server, and request reverse DNS by ticket too. Most CMS platforms and frameworks only need the relay host, port, user name and password. The SMTP relay guide shows typical settings.

How do I maintain FASTPANEL and fix problems?

Panel updates arrive through its apt repository together with system updates:

sudo apt update
apt list --upgradable 2>/dev/null | grep -i fast
sudo apt upgrade

Set up scheduled backups of sites and databases inside the panel and copy them off the server, and consider our optional daily backups add-on for a full disk fallback. If the panel page stops loading, restart the panel service you found earlier with sudo systemctl restart and read sudo journalctl -u for that unit. A lost password can be reset over SSH with the bundled mogwai command line tool; run sudo mogwai --help to see its password option on your version.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A1-2panel with one or two small sites1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months
A2-4several PHP sites and MySQL2 vCPU, 4 GB RAM, 100 GB NVMe$14.40/mo$43.20 for 3 months

Questions about FASTPANEL hosting panel

Does FASTPANEL need a license?

Yes, the panel asks for activation with an email address on first login. Several license types exist; check the vendor site for their current terms.

Which port does FASTPANEL use?

HTTPS on port 8888. Restrict it to your own IP in UFW or reach it through an SSH tunnel.

Can I install it on a server that already has Nginx?

Not reliably. The installer expects to manage Nginx, Apache, PHP and the database itself. Reinstall the image and run FASTPANEL first.

Can each site use a different PHP version?

Yes. Several PHP versions are installed side by side and you choose one per site in its settings.

Where are site files stored?

Under /var/www/, in a folder owned by the system user the panel created for that site.