VPS WordPress Sandbox Creator allows WordPress administrators to create sandbox installations on remote VPS servers. These sandboxes function as temporary WordPress environments for testing, demo creation, or plugin installations. Here’s a breakdown of its features:
Main Features:
- Creates WordPress sandboxes on remote VPS servers.
- Pre-installs plugins specified by the administrator.
- Provides public demo environments that users can create via a frontend button.
- Limits the number of public sandboxes (max 60) to prevent overload.
- Automatically purges old sandboxes (older than 7 days) to maintain server efficiency.
- Provides admin settings for configuring VPS credentials and plugin installations.
Key Functionalities:
🔹 Admin Panel Features
- Adds an admin menu in WordPress for managing sandboxes.
- Provides settings for VPS connection (IP, username, password, MySQL root credentials).
- Allows administrators to save default plugin URLs for automatic installation in new sandboxes.
- Enables manual sandbox creation with custom database and site settings.
🔹 Sandbox Management (Admin & Public)
- AJAX-Based Actions:
- Admins can create, test VPS connections, delete, and configure sandboxes via AJAX calls.
- Users (logged in or logged out) can create public demo sandboxes from the frontend.
🔹 Automated Cleanup System
- A cron job runs daily to delete old public sandboxes.
- It removes files from the VPS and drops databases from MySQL.
How It Works
- Admin Configures VPS Credentials (IP, SSH Username, MySQL Root Password).
- Admin Defines Plugins to auto-install in all sandboxes.
- User or Admin Creates a Sandbox:
- The plugin SSH connects to the VPS and installs WordPress.
- Automatically sets up a database and WordPress config.
- Installs pre-selected plugins.
- Provides the user/admin with a temporary site URL.
- Public Sandboxes are Auto-Purged after 7 days.