Pterodactyl Setup Guide — MrDraynoX

Follow these step-by-step instructions to install and configure Pterodactyl Panel & Wings. Example domain: mrdraynox.com

Pterodactyl Panel Setup

Follow these steps to install and configure your Pterodactyl Panel.

1

Update System & Install Dependencies

Run the following on your VPS
Terminal
apt update && apt install curl -y
2

Run Pterodactyl Installer

Start the automated installer
Terminal
bash <(curl https://pterodactyl-installer.se)
Configuration options (example):
  • Domain/subdomain: panel.mrdraynox.com
  • UFW: No
  • HTTPS using Let's Encrypt: n
  • Assume SSL: y
  • Agree HTTPS request: n
3

Configure SSL & Nginx

Create certificates and update nginx config
Terminal
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /2.pem -out /1.pem -subj "/CN=localhost"
sed -i 's|^\s*ssl_certificate\s\+.*|    ssl_certificate /1.pem;|' /etc/nginx/sites-available/pterodactyl.conf
sed -i 's|^\s*ssl_certificate_key\s\+.*|    ssl_certificate_key /2.pem;|' /etc/nginx/sites-available/pterodactyl.conf
sed -i 's/\b443\b/8443/g; s/\b80\b/8000/g' /etc/nginx/sites-available/pterodactyl.conf
systemctl restart nginx
Note: No output is expected — this is normal behavior.
4

Setup Cloudflare Tunnel

Expose panel via Cloudflare Tunnel (Cloudflare Zero Trust / Tunnels)
Guide
  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: panel.mrdraynox.com
  8. Set Service Type: https
  9. Set Service URL: localhost:8443
  10. Enable "No TLS Verify" in Additional Settings
✅ Test your setup by visiting your subdomain (example): https://panel.mrdraynox.com

Wings Setup

Configure the Wings daemon to manage game servers and nodes.

1

Install Wings

Re-run the installer and choose Wings
Info
Configuration options (example):
  • Re-run the installer and select option 1 (Wings)
  • Unsupported virtualization: y
  • UFW: n
  • DB user: n
  • Let's Encrypt: n
Follow the same Cloudflare tunnel setup, but use your node subdomain (example): node.mrdraynox.com with Service URL localhost:443.
2

Configure Node in Panel

Create location and add node
Panel
📍 Create Location
  • Go to Admin → Locations
  • Create new location (e.g., US1)
🖥️ Add Node
  • Go to Admin → Nodes
  • Daemon Port: 443
  • SSL: Not Behind Proxy
  • FQDN: node.mrdraynox.com
3

Configure SSL Certificates

Different hosts vs same host
Terminal
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
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

Minecraft Setup (DNS & SRV)

If you run Minecraft servers, configure DNS correctly. Cloudflare tunnels will not work for Minecraft player connections — use an A record (DNS only).

1

Create A Record

Point a subdomain to your server IP
Example
  • Type: A
  • Name: mc.mrdraynox.com
  • IPv4 Address: YOUR.SERVER.IP
  • Proxy Status: DNS only (gray cloud)
Important: Make sure Cloudflare's orange cloud is disabled for the Minecraft A record (set to gray).
2

Create SRV Record

Direct Minecraft clients to the correct port
DNS
Type: SRV
Name: _minecraft._tcp.mc
Priority: 0
Weight: 0
Port: 25575
Target: mc.mrdraynox.com
This tells Minecraft that mc.mrdraynox.com should redirect to virtual-net.mrdraynox.com:25575 (example).
3

Test Your Setup

After DNS changes, wait for propagation
Result
Players can connect using:
mc.mrdraynox.com
DNS propagation may take several minutes. If it doesn't work immediately, wait and retry.

About & Resources

Made for MrDraynoX. This guide is adapted from the original Pterodactyl setup instructions.

Contact / Host

© 2025 MrDraynoX — mrdraynox.com