Pterodactyl Panel Setup
Follow these steps to install and configure your Pterodactyl Panel
Update System & Install Dependencies
apt update && apt install curl -y
Run Pterodactyl Installer
bash <(curl https://pterodactyl-installer.se)
Configuration Options:
- • Domain/subdomain:
cold-rabbit-94.telebit.io - • UFW: N
- • HTTPS using Let's Encrypt: y
- • Assume SSL: ctrl + C
- • Agree HTTPS request: y
Setup Cloudflare Tunnel
📝 Cloudflare Dashboard Steps:
- 1. Go to one.dash.cloudflare.com
- 2. Navigate to Network → Tunnels → Create Tunnel
- 3. Select cloudflared and name your tunnel
- 4. Choose Debian and copy the install command
- 5. Run the install command in your VPS
- 6. Copy and run the service command
- 7. Configure hostname with your subdomain
- 8. Set Service Type: http
- 9. Set Service URL: localhost:80
- 10. Last Save Button
✅ Test your setup by visiting your subdomain (e.g., https://testpanel.notk.qzz.io)
Wings Setup
Configure Wings daemon for server management
Install Wings
Configuration Options:
- • Re-run the installer and select option 1 (Wings)
- • Unsupported virtualization: y
- • UFW: n
- • DB user: n
- • Let's Encrypt: n
Setup Cloudflare Tunnel
📝 Cloudflare Dashboard Steps:
- 1. Go to one.dash.cloudflare.com
- 2. Navigate to Network → Tunnels → Create Tunnel
- 3. Select cloudflared and name your tunnel
- 4. Choose Debian and copy the install command
- 5. Run the install command in your VPS
- 6. Copy and run the service command
- 7. Configure hostname with your subdomain
- 8. Set Service Type: https
- 9. Set Service URL: localhost:443
- 10. Last Save Button
Configure SSL Certificates
🔄 Different Hosts
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /2.pem -out /1.pem -subj "/CN=localhost"
sed -i 's|^\(\s*cert:\s*\).*|\1/1.pem|' /etc/pterodactyl/config.yml
sed -i 's|^\(\s*key:\s*\).*|\1/2.pem|' /etc/pterodactyl/config.yml
systemctl restart wings
🏠 Same Host
mkdir -p /etc/certs && cd /etc/certs && openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=NA/ST=NA/L=NA/O=NA/CN=Generic SSL Certificate" -keyout privkey.pem -out fullchain.pem && cd && clear && systemctl restart wings
Minecraft Server Setup
Configure your Minecraft server and port forwarding
Server Allocation Configuration
📊 Allocation Settings
0.0.0.0
localhost
25565-25590
Note: Cloudflare tunnels won't work for Minecraft servers. Use the shared IPv4 instead.
Create A Record
📍 Cloudflare DNS Configuration
A
play.yourdomain.com
YourVPSIP
DNS only (gray cloud)
Important: Make sure to click the orange cloud to turn it gray (DNS only mode).
Create SRV Record
🎯 SRV Record Configuration
SRV
_minecraft._tcp.mc
0
0
25575
play.yourdomain.com
📋 What This Does
This tells Minecraft that play.yourdomain.com should redirect to
virtual-net.yourdomain.com:25575
Test Your Setup
🎉 Success! Players can now connect using:
play.yourdomain.com
⏰ DNS Propagation
DNS changes may take some time to propagate globally. If it doesn't work immediately, wait a few minutes and try again.