Pterodactyl Installation
Next.js Docs Template Installation Guide
Prerequisites
Before you begin, make sure you have the following:
- A working Pterodactyl panel – Learn more
- Our official Next.js egg – Download here
Step 1: Add the Egg to Pterodactyl
- Log into your Pterodactyl Admin Panel.
- Go to Nests > Import Egg.
- Import the downloaded
.json
file from the Next.js egg. - Create a new server using this egg under any nest and category.
Step 2: Upload the Application
- Download the Next.js Docs Template product zip from this page.
- Access your server using:
- The file manager in the Pterodactyl panel, or
- An SFTP client like WinSCP using your server’s connection details.
- Upload the zip file to the server root directory and extract it.
Step 3: Configure Startup Settings
- In the Pterodactyl panel, go to the server’s Startup tab.
- Modify any required environment variables for your Next.js app (such as
PORT
,NODE_ENV
, etc.).
Step 4: Start the Server
- Press Start to run the server.
- The egg will automatically handle building and starting the application.
Optional: Set Up a Reverse Proxy
Option 1: Using Nginx Manually (Same VPS)
Since Pterodactyl also uses Nginx, you can run a reverse proxy alongside it without conflict.
Option 2: Using Nginx Proxy Manager
Host Nginx Proxy Manager via Docker (on the same or separate VPS) for easier management of multiple proxy configurations.
- Official guide: https://nginxproxymanager.com/guide/
Point your domain to your app’s port (default 3000
, or the port you set in the panel).
All Done!
Your Next.js Docs Template instance is now running on your Pterodactyl server. If you need help, check out the community or reach out via ricardoneud.com.