Next.js Egg Installation Guide#
Prerequisites#
Before you begin, ensure you have the following:A working installation of Pterodactyl.
Admin access to the panel's admin area where you can import eggs.
Step 1: Download the Next.js Egg#
2.
Download the .json
egg file to your local machine.
3.
Keep it ready for import in your panel.
Step 2: Import the Egg into Your Panel#
1.
Log in to your Pterodactyl Admin Panel.
2.
http://yourdomain.tld/admin/nests
or
https://yourdomain.tld/admin/nests
3.
Click on the "Import Egg" button.
4.
Upload the .json
file you downloaded earlier.
5.
After importing, assign it to a Nest and make it available for server creation.
Step 3: Create a Server with the Egg#
1.
Go to your Server Creation page.
2.
Choose the Nest and Egg corresponding to the Next.js template.
3.
Fill in the required details like server name, resources, and startup options.
Step 4: Upload Your Next.js Application#
1.
Upload your Next.js project files to the server using SFTP or the built-in file manager.
2.
Make sure package.json
and other required files are in the root directory.
Step 5: Start the Server#
Use the panel's console or startup command to run the application.
If the Egg is set up with PM2, it will handle process management automatically.
Optional: Configure Domain and SSL (Outside Panel)#
Additional Resources#
Modified at 2025-07-27 13:30:55