Skip to main content
This marketing model helps you promote server-access products created on your e-commerce platform, reach users directly, and increase sales efficiency. With this integration, you not only operate an online store but also automatically deliver and manage server-connected products, ensuring a secure and efficient sales process.

1. Install Pterodactyl

Our Distributed Server Management system uses the Pterodactyl Panel for server deployment and control.

What Is Pterodactyl Panel?

Pterodactyl is an open-source web-based control panel that allows you to easily manage game and application servers. Built on Laravel, it provides robust security, multi-server management, and a customizable structure.

What Are Pterodactyl Eggs?

Eggs are Pterodactyl’s server creation templates. With them, you can:
  • Create virtual game servers.
  • Host AFK clients, Discord bots, Minecraft servers, and web hosting services.
  • Use preconfigured templates for faster setup.
We’ve included commonly used eggs in your panel for quick access.

Installation Steps

  1. Install Pterodactyl Panel
    Use the following link to install it on your server:
    Click here.
    Follow the SSH instructions to complete the setup.
  2. Optional: Install phpMyAdmin
    Watch this tutorial to integrate phpMyAdmin:
    Once installed, go to example.com/phpmyadmin and back up your SQL data.
  3. Import Pterodactyl Backup into Zonely Database
    Upload your Pterodactyl SQL backup into the Zonely database.
  4. Configure Pterodactyl (.env)
    Access your server via FTP and open:
    /var/www/pterodactyl/.env Update the database credentials as shown below:
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=zonely_database
    DB_USERNAME=zonely_user
    DB_PASSWORD="your_secret_password"
    
  5. Restart the Pterodactyl Panel
    php artisan queue:restart
    
This command restarts your Pterodactyl panel using the updated database configuration. The setup will now be complete.

2. Enable Hosting in Plugins

Activating the hosting plugin allows you to manage and distribute your server-based products via Pterodactyl. Follow these steps:
  1. Log in to your Zonely admin panel.
  2. Click the Settings (Gear) icon on the left menu.
  3. Go to Plugins.
  4. Find Hosting System and toggle it on.
    You’ll be redirected to the System Settings page.
  5. Configure the following:
    • Upload your Pterodactyl panel logo.
    • Enter the API key generated from your Pterodactyl panel.
    • Add your Pterodactyl panel URL (e.g., https://panel.yoursite.com).

3. Add a Product

This section explains how to create a hosting product using your existing nodes. Each node can host one product.
  1. Log in to your admin panel.
  2. Click the Shopping Cart icon.
  3. Go to Store Management.
  4. Select the Hosting tab.
  5. Click the Edit (pencil) icon next to the node you want to assign a product to.
Each node can be linked to only one product.

Fill in Product Details

  • Server Title: Product name (e.g., Minecraft Server #2).
  • Network IP (Pterodactyl): Node IP address from your Pterodactyl panel.
    Tip: In your panel, go to Nodes > [Node Name] > Allocations to copy the IP.
  • Subdomain (DNS): Add a subdomain pointing to the IP (e.g., mc2.yoursite.com).
    Tip: Configure an “A Record” in your DNS to link it to the IP.
  • Server Description: Short product summary for users.
  • Product Icon (SVG): Paste or upload an SVG icon.
    You can use a full <svg>...</svg> tag.
  • Egg Selection: Choose from available Pterodactyl eggs (e.g., Minecraft, Discord Bot, AFK Client).
  • Server Resources:
    • RAM (MB)
    • Disk (MB)
    • CPU Cores
      100 = 1 core (e.g., 200 → 2 cores)

Pricing and Limits

  • Server Type: Choose Free or Paid.
  • Additional Costs (for Paid):
    • Port Fee
    • Database Fee
    • Backup Fee
  • Suspension Duration: Define how long a server stays inactive before suspension.
Leave blank for unlimited usage.

Appearance Settings

  • Color Palette: Select the color theme for the product display.
  • Background Image: Upload a large background image for the product card.
Click Save to finalize. Your hosting product will now appear in the store and integrate automatically with your Pterodactyl panel. You can still adjust detailed node, egg, and limit configurations directly in your Pterodactyl panel.
You’re ready! Your distributed server marketplace is now live. Wishing you successful sales!