Pterodactyl is a free, open-source panel that lets you manage game servers like Minecraft, Rust, ARK, or CS2 through a web interface. Each game server runs in its own Docker container, completely isolated from the others.
Pterodactyl consists of two parts:
- Panel – the web interface where you manage servers, users, and resources (a PHP application with a database and web server)
- Wings – the service on the server that starts, stops, and monitors the game server containers
In this guide, we’ll show you two options: the easy way using a One-Click App, where the Panel and Wings are already connected, and the manual installation via the console on your ZapX VPS or Dedicated Server with your own domain, SSL, and first game server. We’ll also show you how to connect another VPS to your Panel as a Node using the Wings One-Click App.
With your VPS’s One-Click Apps, you can install the complete setup in just a few clicks: the Panel, including the database (MariaDB 11.8) and Redis, plus Wings. Wings is already added and connected in the Panel as the This vServer Node, so you can create your first game server right after your first login.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
- At least 4 GB RAM for Pterodactyl; 4 vCPU, 8 GB RAM, and 70 GB SSD are recommended. Your game servers will run on the same VPS and require additional resources.
For a complete setup, choose the Pterodactyl app: it’s the only one that includes the Panel with Wings already connected. The Wings app contains only the Wings service, without a Panel. It’s intended for another VPS that you want to connect to an existing Panel. See the “Connect another VPS as a Node” section below.
- Open your VPS in the ZapX Dashboard and go to the One-Click Apps tab.
- Search for Pterodactyl in the app catalog and click Install app.
- Fill in the fields:
| Field | Description |
|---|---|
ADMIN_EMAIL | Required. Your email address, which you’ll use to sign in to the Panel. |
ADMIN_PASSWORD | Required. Your Panel password, at least 8 characters long. |
ADMIN_USERNAME | Optional. Your admin account name; the default is admin. |
TIMEZONE | Optional. The time zone for the Panel and game servers; the default is Europe/Berlin. |
- Use a custom subdomain or zap.cloud is already selected, with a randomly generated name. Leave this option enabled or enter your own name: with a domain, the Panel is available over HTTPS instead of only HTTP.
- Click Queue installation. It may take a few minutes for the Panel, database, and Wings to be ready.
Open the app’s address and sign in with the ADMIN_EMAIL and ADMIN_PASSWORD you entered during installation. Create a game server as described below under Create your first game server, and select This vServer as the Node.
These ports are already set up as Allocations for game servers:
| Ports | Typical use |
|---|---|
| 25565–25599 | Minecraft |
| 27015–27029 | Source games, Rust, ARK, and many Steam games |
You can add more ports in the admin area under Nodes > This vServer > Allocation, using the IP address 0.0.0.0. Players connect using <app address>:<port>, for example, port 25565 for Minecraft. SFTP uses port 2022. You can upload files up to 100 MB directly in the Panel’s file manager.
The first time you start a Minecraft server, it will stop unless you accept the Minecraft EULA. The next time you start it, the Panel will display the Accept Minecraft EULA dialog. Click I Accept.
Have you been managing your game servers in the old game server web interface? Ask the ZapX AI Agent to migrate your game servers to Pterodactyl. You’ll then be able to manage them through a graphical interface again.
- By default, the Panel doesn’t send emails. “Forgot password” will say that a link was sent, but the email never arrives. The same applies to emails about new accounts or installed servers. Set up email delivery right after your first login in the admin area under Settings > Mail, using the SMTP details from your email provider.
- Game servers run in their own Docker containers alongside the app, and their files are stored in
/var/lib/pterodactyl. Delete your game servers in the Panel before uninstalling the app; otherwise, the containers and files will remain on the VPS.
If your Panel server no longer has enough resources, or you want to distribute your game servers across multiple servers, connect another VPS as an additional Node. The app catalog includes the Wings app for this purpose. It installs only the Wings service, without a Panel, database, or separate login.
Wings receives all commands from the Panel. You can’t use this app without a running Pterodactyl Panel. You’ll need a Panel first, such as the Pterodactyl One-Click App on another VPS or a Panel you installed manually as described below.
- A Pterodactyl Panel available over HTTPS at a domain, and an admin account in the Panel.
- A second Linux VPS with One-Click Apps set up. Wings and the Pterodactyl app can’t run on the same VPS: both need port 2022 for SFTP, and the installation will be rejected with a message saying port 2022 is already being used by the “Pterodactyl” app. Wings is already set up as the This vServer Node on the VPS running the Pterodactyl app.
- Enough CPU, RAM, and storage for the game servers you want to run on this Node. Wings itself needs very few resources; the game servers are what matter.
- Open the second VPS in the ZapX Dashboard and go to the One-Click Apps tab.
- Search for Wings in the app catalog and click Install app.
- Leave Use a custom subdomain or zap.cloud enabled. You’ll need the domain as the Node’s FQDN shortly, because the Panel communicates with Wings over HTTPS through this domain.
- Optionally, set the time zone under
TIMEZONE, for exampleEurope/Berlin(the default isUTC). You don’t need the automatically generatedSERVICE_USER_WINGSvalue. - Click Queue installation.
Wings won’t be connected to your Panel immediately after installation. The provided configuration is only a template: the Panel address is missing, and the credentials are placeholders. As a result, Wings will go offline shortly after starting, the Wings domain will display “502 Bad Gateway,” and the Logs will show “unsupported protocol scheme.” This will be resolved once you complete the next two steps.
- Open the admin area in your Panel (gear icon). If you don’t already have a suitable Location, create one under Locations by clicking Create New.
- Go to Nodes and click Create New.
- Enter the Wings app’s domain as the FQDN, without
https://, for example,wings.example.com. - Under Communicate Over SSL, select Use SSL Connection. Under Behind Proxy, select Behind Proxy. The One-Click Apps proxy provides the certificate, not Wings itself.
- Under Total Memory and Total Disk Space, enter how much RAM and storage Wings can allocate to game servers. Leave some resources available for the system.
- Set Daemon Port to
443and leave Daemon SFTP Port at2022. Save the Node.
The Panel reaches Wings through port 443 (HTTPS) on the Wings domain. The proxy forwards requests internally to Wings, which listens on port 8443 in the container. With the default value of 8080, the Panel won’t be able to connect.
Open the new Node and go to the Configuration tab. The Panel displays the configuration for this Node. Copy only three values from it; don’t copy the entire block. It contains port 443 instead of 8443 and different SSL settings, which would make Wings unreachable in the container. For the same reason, don’t use Generate Token with the automatic command here.
Edit the file in the Coolify Panel for your VPS. You can find the address and login details in the One-Click Apps tab under Access & Settings. Open the app’s project there (default: “ZAP Apps”), then the Wings service, and then “Persistent Storages” with the /etc/pterodactyl/config.yml file. If the file is read-only there, edit the content block under “General” > “Edit Compose File.”
Update these lines:
uuid: NODE_UUID
token_id: NODE_TOKEN_ID
token: NODE_TOKEN
api:
host: 0.0.0.0
port: 8443
ssl:
enabled: false
remote: 'https://panel.example.com'
- Copy
uuid,token_id, andtokenfrom the Node’s Configuration tab. remoteis your Panel’s address: includehttps://, don’t add a trailing slash, and don’t include/api.- Leave
api.hostas0.0.0.0,api.portas8443, andssl.enabledasfalse. This is the address Wings listens on inside the container, not the Panel’s address. - Leave the rest of the file unchanged (for example,
system.sftp.bind_port: 2022and the data path).
Save the file and restart Wings using Restart on the app card. After a short time, a green heart will appear next to your new Node under Nodes in the Panel. If it remains red, first check remote and the three credentials, then check the app’s Logs.
In the admin area, open the new Node’s Allocation tab and add the ports for your game servers. Use the public IP address of the Wings VPS from the ZapX Dashboard, never 127.0.0.1. Don’t use ports occupied by the One-Click Apps themselves: 80, 443, 8000, 6001, 6002, 8080, and 2022 for SFTP.
Players connect using <IP address or Wings domain>:<port>. SFTP for game servers on this Node uses port 2022 on the Wings VPS. If you use the VPS’s Network firewall, allow port 2022 (TCP) and the ports in your Allocations.
Create a game server on the new Node as described under Create your first game server, and select the new Node.
- Get new Wings versions through the app settings under App update, using Check for updates and Apply update. Then check whether your values are still in
config.yml. If not, enter them again; the Node’s Configuration tab will show them whenever you need them. - Game server files are stored on the Wings VPS under
/var/lib/pterodactyl/volumes. Back them up using the backups for this VPS. - If you want to remove the Node, first delete its game servers in the Panel, then delete the Node under Nodes, and only then uninstall the Wings app. Otherwise, the containers and files will remain on the VPS.
The rest of this guide describes the manual installation of the Panel and Wings using the console, for example, on a Dedicated Server or if you want to choose every step yourself.
To use Pterodactyl, you’ll need a VPS or Dedicated Server running Linux, with root access over SSH. See our guide to First SSH Login for instructions on connecting to your server. New to ZapX? Start with the introduction to VPS or Dedicated Servers.
SSH key authentication
We recommend using an SSH key instead of a password. See our guide to Create and Use SSH Keys for instructions.
The Panel itself is lightweight. The resources you need depend mainly on how many game servers you want to run through Wings. If you’re running the Panel and Wings on the same server, we recommend:
| Hardware | Minimum | Recommended |
|---|---|---|
| CPU | 2 vCPU cores | 4 vCPU cores or more |
| RAM | 4 GB | 8 GB or more |
| Disk space | 30 GB | 100 GB or more |
According to the official Pterodactyl documentation, these systems are currently supported:
| Operating system | Versions | Note |
|---|---|---|
| Ubuntu | 22.04, 24.04 | Ubuntu 22.04 requires an additional PHP repository |
| Debian | 11, 12, 13 | PHP 8.3 comes from the Sury repository |
| Rocky Linux / AlmaLinux / RHEL | 8, 9 | Different package names and paths; not covered in this guide |
This guide provides commands for Ubuntu and Debian. Ubuntu 20.04 and earlier are no longer supported by the Panel. If you’re setting up a new system, we recommend Ubuntu 24.04 or Debian 12.
Wings requires Docker. Docker runs without issues on KVM-based servers and Dedicated Servers, but usually doesn’t run on OpenVZ or LXC containers. Check with this command:
systemd-detect-virt
The output kvm or none (Dedicated Server without virtualization) is fine. If it shows openvz or lxc, you generally can’t run Wings on this server.
Update your system before installation:
apt update && apt upgrade -y
The Panel requires PHP 8.2 or 8.3 (8.3 is recommended) with several extensions, a database (MariaDB or MySQL), Redis, a web server (we use Nginx), as well as curl, tar, unzip, git, and Composer. Run the commands for your distribution.
PHP 8.3, MariaDB, and Redis are already available in the default package repositories in Ubuntu 24.04. You don’t need any additional repositories:
apt -y install software-properties-common curl apt-transport-https ca-certificates gnupg
apt -y install php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server
Ubuntu 22.04 only includes PHP 8.1. First, add the PHP repository from Ondřej Surý and the official Redis repository, then install all the packages:
# Werkzeuge für zusätzliche Repositories
apt -y install software-properties-common curl apt-transport-https ca-certificates gnupg
# PHP-Repository (PPA) hinzufügen
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
# Offizielles Redis-Repository hinzufügen
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
# Paketlisten neu laden und Abhängigkeiten installieren
apt update
apt -y install php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server
On Debian 11 and 12, PHP 8.3 comes from the Sury repository, Redis from the official Redis repository, and MariaDB is installed using MariaDB’s setup script:
# Benötigte Werkzeuge
apt install -y curl ca-certificates gnupg2 sudo lsb-release
# PHP-Repository von Sury hinzufügen
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
curl -fsSL https://packages.sury.org/php/apt.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg
# Offizielles Redis-Repository hinzufügen
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
# MariaDB-Repository einrichten
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
# Paketlisten neu laden und Abhängigkeiten installieren
apt update
apt install -y php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server
Debian 13 includes PHP 8.4 by default, which Pterodactyl doesn’t officially support. Get PHP 8.3 from the Sury repository instead. Install MariaDB and Redis directly from the Debian package repositories, without adding any repositories:
# Benötigte Werkzeuge
apt install -y curl ca-certificates gnupg2 sudo lsb-release
# PHP-Repository von Sury hinzufügen
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
curl -fsSL https://packages.sury.org/php/apt.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg
# Paketlisten neu laden und Abhängigkeiten installieren
apt update
apt install -y php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server
Composer is the package manager for PHP, which the Panel uses to download its libraries. Install it with:
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Then check that PHP 8.3 is active:
php -v
Create the Panel directory and navigate to it:
mkdir -p /var/www/pterodactyl
cd /var/www/pterodactyl
Download the latest release, extract it, and set the permissions for the storage/ and bootstrap/cache/ directories:
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz
chmod -R 755 storage/* bootstrap/cache/
The Panel stores all its data in a dedicated database. Log in to MariaDB:
mariadb -u root -p
Create a user and database for the Panel. Replace DeinSicheresPasswort with a strong password of your own:
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'DeinSicheresPasswort';
CREATE DATABASE panel;
GRANT ALL PRIVILEGES ON panel.* TO 'pterodactyl'@'127.0.0.1' WITH GRANT OPTION;
exit
Learn more about MariaDB and other databases in our guide to Set Up Databases on a Linux Server.
Copy the example configuration, install the PHP dependencies, and generate the application key:
cp .env.example .env
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader
# Nur bei einer Neuinstallation ausführen, nicht bei einem bestehenden Panel
php artisan key:generate --force
Back up your APP_KEY
The APP_KEY value in the .env file encrypts all sensitive Panel data, such as API keys. If it’s lost, this data can no longer be read, even with a database backup. Display it using grep APP_KEY /var/www/pterodactyl/.env and save it somewhere secure outside the server, such as in your password manager.
Use the following commands to configure sessions, cache, the database connection, and email delivery. The commands will prompt you for the required values:
php artisan p:environment:setup
php artisan p:environment:database
# Optional: Mailversand einrichten ("smtp" für einen eigenen Mailserver)
php artisan p:environment:mail
When prompted for the Application URL, enter the future address of your Panel, for example, https://panel.example.com. For the database, use 127.0.0.1, the database name panel, the username pterodactyl, and the password you set earlier. You can select Redis for cache, sessions, and queue.
The Panel will now create its tables and import the included Nests and Eggs (templates for individual games):
php artisan migrate --seed --force
Please wait
This may take a few minutes. Don’t cancel the process, or the database will be incomplete.
Create your admin account. The password must be at least 8 characters long and contain uppercase and lowercase letters, as well as at least one number:
php artisan p:user:make
When asked whether the user should be an administrator, answer yes.
To allow Nginx and PHP to access the files, assign them to the web server user:
chown -R www-data:www-data /var/www/pterodactyl/*
The Panel performs many tasks in the background, such as scheduled tasks, emails, and cleanup. You’ll need a cron job and a queue worker for this.
Open the crontab with sudo crontab -e and add this line. It runs the Panel’s scheduler every minute:
* * * * * php /var/www/pterodactyl/artisan schedule:run >> /dev/null 2>&1
The queue worker runs continuously in the background as a systemd service. Create the file:
nano /etc/systemd/system/pteroq.service
Add this content:
# Pterodactyl Queue Worker File
# ----------------------------------
[Unit]
Description=Pterodactyl Queue Worker
After=redis-server.service
[Service]
User=www-data
Group=www-data
Restart=always
ExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
StartLimitInterval=180
StartLimitBurst=30
RestartSec=5s
[Install]
WantedBy=multi-user.target
Save with CTRL + X, then Y and Enter. Then enable Redis and the queue worker so they both start automatically after a reboot:
sudo systemctl enable --now redis-server
sudo systemctl enable --now pteroq.service
Use systemctl status pteroq to check whether the service is running.
To access the Panel over HTTPS using your own domain, you’ll now configure DNS, an SSL certificate, and Nginx.
Create an A record with your domain provider that points to your server’s IP address, for example, panel.example.com. If your domain is with ZAP-Hosting, see our guide to Domain Records. It may take a while for the record to become active worldwide.
Install Certbot with the Nginx plugin and create the certificate. Replace panel.example.com with your domain:
apt install -y certbot python3-certbot-nginx
certbot certonly --nginx -d panel.example.com
Certbot verifies the domain through port 80, so the port must be accessible from the internet. Learn more about Certbot in our guide to Set Up Certbot on a Linux Server.
The Certbot package renews certificates automatically. To ensure Nginx and Wings also load a renewed certificate, you can add this line to the crontab (sudo crontab -e):
0 23 * * * certbot renew --quiet --deploy-hook "systemctl restart nginx wings"
Remove the default Nginx configuration:
rm /etc/nginx/sites-enabled/default
Create a new configuration file for the Panel:
nano /etc/nginx/sites-available/pterodactyl.conf
Add this configuration and replace panel.example.com with your domain in all four places:
server {
listen 80;
server_name panel.example.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name panel.example.com;
root /var/www/pterodactyl/public;
index index.php;
access_log /var/log/nginx/pterodactyl.app-access.log;
error_log /var/log/nginx/pterodactyl.app-error.log error;
# Größere Uploads und längere Laufzeiten erlauben
client_max_body_size 100m;
client_body_timeout 120s;
sendfile off;
# SSL-Konfiguration
ssl_certificate /etc/letsencrypt/live/panel.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/panel.example.com/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384";
ssl_prefer_server_ciphers on;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header Content-Security-Policy "frame-ancestors 'self'";
add_header X-Frame-Options DENY;
add_header Referrer-Policy same-origin;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
include /etc/nginx/fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
Certificate required first
Nginx will only start with this configuration if the SSL certificate already exists. Be sure to create it with Certbot first.
If you only want to test the Panel and aren’t ready to use a domain with a certificate, you can use this simpler configuration in /etc/nginx/sites-available/pterodactyl.conf instead. Replace panel.example.com with your domain or your server’s IP address. Also, delete /etc/nginx/sites-enabled/default first:
server {
listen 80;
server_name panel.example.com;
root /var/www/pterodactyl/public;
index index.html index.htm index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/pterodactyl.app-error.log error;
client_max_body_size 100m;
client_body_timeout 120s;
sendfile off;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}
location ~ /\.ht {
deny all;
}
}
Without SSL, logins and passwords are transmitted over the network unencrypted. For ongoing use, always use the SSL option.
Enable the configuration, check it for errors, and restart Nginx:
sudo ln -s /etc/nginx/sites-available/pterodactyl.conf /etc/nginx/sites-enabled/pterodactyl.conf
sudo nginx -t
sudo systemctl restart nginx
Now open https://panel.example.com in your browser and sign in with the admin account you created earlier. For general information about Nginx, see our guide to Set Up Nginx and Apache on a Linux Server.
Wings is the service that actually runs your game servers. You can install Wings on the same server as the Panel or on additional servers, which you can then connect to the Panel as extra Nodes.
Wings starts each game server in a Docker container. Install Docker CE using the official installation script and enable the service:
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
sudo systemctl enable --now docker
Learn more about Docker in our guide to Set Up Docker on a Linux Server.
Create the configuration directory and download the latest version of Wings for your CPU architecture:
sudo mkdir -p /etc/pterodactyl
curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
sudo chmod u+x /usr/local/bin/wings
Before Wings can start, create a Node in the Panel for the server running Wings:
- Open the admin area in the top-right corner of the Panel (gear icon).
- Create a Location under Locations by clicking Create New, for example, with the code
de1. - Go to Nodes and click Create New.
- Enter a name, select the Location, and enter the server’s domain as the FQDN. If Wings is running on the same server as the Panel, you can use the same domain, for example,
panel.example.com. - Under Communicate Over SSL, select Use SSL Connection if your Panel uses HTTPS. The Node will also need a valid certificate for its FQDN.
- Under Total Memory and Total Disk Space, enter how much RAM and storage Wings can allocate to game servers. Leave some resources available for the system itself.
- Leave Daemon Port set to
8080and Daemon SFTP Port set to2022, then save the Node.
Next, open the Node and go to the Configuration tab. Click Generate Token and run the displayed command on your server. It will automatically write the /etc/pterodactyl/config.yml file. Alternatively, copy the contents of the code block into this file manually.
Run Wings once in debug mode to see any errors right away:
sudo wings --debug
If Wings runs without errors and the Node has a green heart under Nodes in the Panel, stop the test with CTRL + C.
To keep Wings running in the background, create a systemd service:
nano /etc/systemd/system/wings.service
Add this content:
[Unit]
Description=Pterodactyl Wings Daemon
After=docker.service
Requires=docker.service
PartOf=docker.service
[Service]
User=root
WorkingDirectory=/etc/pterodactyl
LimitNOFILE=4096
PIDFile=/var/run/wings/daemon.pid
ExecStart=/usr/local/bin/wings
Restart=on-failure
StartLimitInterval=180
StartLimitBurst=30
RestartSec=5s
[Install]
WantedBy=multi-user.target
Enable and start the service:
sudo systemctl enable --now wings
An Allocation is a combination of an IP address and port that you assign to a game server. Each server needs at least one. Find your server’s IP address with:
hostname -I | awk '{print $1}'
In the admin area, open your Node, go to the Allocation tab, and enter the IP address and desired ports under Assign New Allocations, for example, 25565-25570 for Minecraft. Never use 127.0.0.1 as an Allocation.
If you use a firewall on your server, these ports must be open:
| Port | Protocol | Purpose |
|---|---|---|
| 80 and 443 | TCP | Panel (HTTP/HTTPS) and certificate verification by Certbot |
| 8080 | TCP | Wings API, which the Panel uses to communicate with the Node |
| 2022 | TCP | SFTP access to game server files |
| Game ports | TCP/UDP | The ports in your Allocations, for example, 25565 for Minecraft |
For example, you can allow the ports using UFW as follows. Be sure to allow SSH first, or you’ll lock yourself out when you enable it:
ufw allow OpenSSH
ufw allow 80,443/tcp
ufw allow 8080/tcp
ufw allow 2022/tcp
ufw allow 25565:25570/tcp
ufw allow 25565:25570/udp
ufw enable
Learn more in our guide to Managing the Firewall on Linux.
Docker and UFW
Docker creates its own rules for the ports used by game server containers. These ports are therefore often accessible even if you haven’t allowed them in UFW. Don’t rely on UFW alone to secure game ports.
Everything is now ready for your first game server:
- In the admin area, open Servers and click Create New.
- Enter a name and select the owner (for example, your admin account).
- Select the Node and an available Allocation.
- Set how much CPU, RAM, and storage the server will have.
- Under Nest and Egg, select the game, for example, Minecraft with Paper.
- Click Create Server.
Wings will now download the appropriate Docker image and install the server. You’ll then find it in the Panel’s regular view, where you can start it, open the console, and manage its files.
Congratulations! You’ve successfully installed Pterodactyl Panel and Wings on your server and can now manage your own game servers through the web interface. These resources may help:
- pterodactyl.io – Official website
- Pterodactyl documentation – Installation, updates, and additional configuration
- GitHub – Source code and releases
Note: Since version 1.11, Pterodactyl has sent anonymous usage data (telemetry). The official documentation explains how to disable this under “Additional Configuration.”
Do you still have questions that aren’t answered here? Our support team is here to help every day—just get in touch! 🙂
