📖 DASHBOARD DEPLOYMENT MANUAL

User Deployment Guidelines

Step-by-step guidelines for deploying WordPress, PHP, Static HTML, Node.js, and Python sites on Hosting2030.

🔌 SFTP Connection Guide

  • Protocol: SFTP (SSH File Transfer Protocol)
  • Host IP: Server IP address displayed on your site card
  • Port: Dedicated SFTP Port (e.g. 2022, 2024 shown on site card)
  • User: webuser (or SFTP username shown on your site card)
  • Password: SFTP Password displayed on your site card
  • Target Directory: Upload files into public_html

🐙 Git Deploy Key & Webhook Setup

  • 1. Deploy Key: Console ➔ Site Settings ➔ Copy unique Deploy SSH Key (or generated during site provisioning).
  • 2. Add to GitHub: GitHub Repo ➔ Settings ➔ Deploy keys ➔ Click Add deploy key (Title: Hosting2030, check Allow write access).
  • 3. Webhook URL: Console ➔ Site Settings ➔ Copy Webhook URL.
  • 4. Add to Webhooks: GitHub Repo ➔ Settings ➔ Webhooks ➔ Add webhook (Payload URL: Webhook URL, Content-type: application/json, Trigger: Just the push event).
🌐

WordPress Deployment Guidelines

6-Step Guide to Launching and Managing your WordPress Instance

1

Deploy Site in Console

Click Deploy New Website on your dashboard console and select 🚀 Deploy WordPress Instance. Choose your domain type:

• Free Subdomain: Enter a 1–15 lowercase letter prefix to get an instant prefix.galaxy.hosting2030.com address with automatic DNS and SSL (changeable anytime via Change Domain in the Website Manager).

• Your own Domain: Enter your custom domain (e.g. yourdomain.com) pointing an A record to your server IP address.

(Optional) Migrating an existing WordPress site? Click 📦 Migrate an existing website? for instructions on file transfers, Git sync, and database imports.

Click Provision Website. No admin password or database inputs required! The system automatically provisions your secure hosting environment, configures a dedicated MySQL database, and sets up your WordPress site with WP-CLI ready. All newly generated access credentials (WP Admin login, MySQL database details, and dedicated SFTP connection) are also automatically dispatched to your registered account email address.

2

Log in to WordPress Admin Panel

Your site card immediately displays your auto-generated WP Admin Username and WP Admin Password (with Show/Copy toggle), along with dedicated MySQL credentials. Additionally, all credential details and access links are sent to your registered account email address. Click WP Admin Login (or navigate to https://yourdomain.com/wp-admin) to access your administrative dashboard.

3

Connect Git & Auto-Deploy (Optional) Git Auto-Deploy

Link your Git repository in site settings. Copy your site's unique Deploy SSH Key to GitHub/GitLab Deploy Keys and configure your Webhook URL. On every git push, theme and plugin updates pull automatically without overwriting wp-config.php or .htaccess.

4

Upload Themes, Plugins & Media Files Direct Upload

Connect via SFTP using your dedicated SFTP Port (e.g. 2022, 2024 shown on site card), SFTP username, and password, or use the Console File Manager to upload custom themes into public_html/wp-content/themes/ and plugins into public_html/wp-content/plugins/.

5

Configure Custom PHP Directives (.user.ini)

Fine-tune PHP runtime directives by editing or creating .user.ini directly inside public_html via Console File Manager:

memory_limit = 512M upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300
6

Automated Backups & One-Click Restore

Your WordPress site is automatically backed up (7 daily, 4 weekly, 2 monthly retention). Create manual snapshots anytime or perform a 1-click restore directly from your site management panel.

🐘

PHP Application Deployment Guidelines

6-Step Guide for Custom PHP, Laravel, Symfony & CodeIgniter

1

Deploy Site & Configure Stack

Click Deploy New Website and select 🐘 Deploy PHP Application:

• Domain Setup: Choose Free Subdomain (.galaxy.hosting2030.com) or Your own Domain.

• PHP Version: Select PHP 8.3 (LTS Recommended / Default), PHP 8.4 (Latest), PHP 8.2, or PHP 8.1.

• Custom Document Root (Optional): Enter public (for Laravel/Symfony) or leave blank to serve from root.

• Composer Auto-Install: Enabled by default (auto-installs composer.json packages upon deployment).

• Optional Git Linkage: Enter your Git Repository URL & branch (main) to generate a unique outbound Deploy SSH Key.

• Optional Database Creation: Check Create a Database (MySQL port 3306 or PostgreSQL port 5432). Auto-Create .env is checked by default: automatically writes the Database Host, credentials, and DATABASE_URL directly into public_html/.env.

Click Provision Website.

2

Upload Application Files Option A: Manual Upload

Upload your PHP project code into public_html via SFTP (user webuser, dedicated SFTP port displayed on site card) or the Console File Manager, or deploy via your linked Git repository.

3

Set Framework Document Root (Laravel / Symfony)

For modern frameworks like Laravel or Symfony, click Set Document Root in the site panel and enter public (if not configured during creation). The platform automatically updates web server routing to serve requests directly from public_html/public.

4

Run Composer Install

If your project includes a composer.json file, click the 📦 Composer Install button in your site panel to execute composer install --no-interaction --prefer-dist. Dependencies are also auto-installed during Git push-to-deploy updates.

5

Database Connection (.env) & Migrations

If you selected database creation during site provisioning, your .env file is already pre-configured with the correct database connection details. If configuring manually, copy the Database Host IP, Port, and credentials directly from the 🔐 System Credentials panel on your site card (never use localhost). Trigger framework migrations via the console Run Migrations button or execute php artisan migrate in the Web Terminal.

6

Supervisor Background Queue Workers & Task Manager

For asynchronous Laravel queue jobs (emails, notifications, image processing), Hosting2030 PHP instances run Supervisor to keep queue workers running active 24/7 with automatic restart on crashes and zero memory leaks.

Note on Permissions: To ensure environment isolation and security, customer accounts operate as standard unprivileged users (webuser) without sudo or root access. All daemon lifecycle controls, configuration editing, and process management are handled conveniently through the ⚙️ Supervisor button on your site card.

🛠️ How to Configure Supervisor via Dashboard:

• 1. Open Supervisor Manager: Click the ⚙️ Supervisor button on your PHP website card.

• 2. 1-Click Initialize: If not yet initialized, click ⚡ Initialize & Setup Supervisor. The system automatically provisions the background daemon and generates your initial worker configuration.

• 3. Configure Worker Program: Open the ⚙️ Configuration tab to view or edit /etc/supervisor/conf.d/php-worker.conf in the in-browser editor. Click 💾 Save & Apply Configuration to automatically reread and update worker processes without needing root access.

• 4. Monitor & Control Workers: In the 📊 Process Status tab, view running worker status, PIDs, and uptime. Click Restart All Workers to reload workers whenever you deploy code changes.

• 5. Scheduled Tasks (Cron): In the ⏰ Scheduled Cron (webuser) tab, add your Laravel scheduler (e.g. * * * * * php /home/webuser/public_html/artisan schedule:run >> /dev/null 2>&1) and click Save & Apply.

• 6. Service Logs: In the 📜 Service Logs tab, inspect real-time worker stdout and error logs (php-worker.log).

Sample Laravel Queue Worker Configuration (php-worker.conf):

[program:php-worker] process_name=%(program_name)s_%(process_num)02d command=php /home/webuser/public_html/artisan queue:work --sleep=3 --tries=3 --max-time=3600 autostart=true autorestart=true stopasgroup=true killasgroup=true user=webuser numprocs=2 redirect_stderr=true stdout_logfile=/var/log/supervisor/php-worker.log stopwaitsecs=3600
⚡ Web Terminal Testing (User Space):

You can test a single queue job execution anytime in your Web Terminal without needing sudo: php /home/webuser/public_html/artisan queue:work --once

Automated Backups: Daily, weekly, and monthly snapshots are generated automatically with 1-click restore functionality.

📄

Static HTML Deployment Guidelines

6-Step Guide for HTML, CSS, JS & Single Page App Exports (React, Vue, Vite)

1

Deploy Site in Console

Click Deploy New Website and select 🌐 Deploy Static HTML Website:

• Domain Setup: Choose Free Subdomain (.galaxy.hosting2030.com) or Your own Domain.

• Custom Document Root (Optional): For Single Page Application (SPA) static exports (React, Vue, Vite, Hugo, Astro), specify your build subfolder (e.g. dist, build, public) or leave blank for root.

• Optional Git Linkage: Enter your Git Repository URL & branch (main) to generate a unique outbound Deploy SSH Key.

Click Provision Website. A high-performance web server with an active WAF rule set is provisioned with zero PHP or database overhead.

2

Upload Assets Option A: Direct Upload

Upload HTML, CSS, JS, font, and media files into your document root via SFTP (user webuser, dedicated SFTP port displayed on site card) or Console File Manager, or deploy via your linked Git repository.

3

Verify Entry File

Ensure your main homepage entry file is named index.html directly inside your document root (public_html or designated build folder).

4

Set Framework Build Root

If not configured during initial creation, click Set Document Root in Console anytime to point to your build output subfolder (e.g. dist, build, or public).

5

SPA Client-Side Routing (.htaccess) Option B: Git Auto-Deploy

To support React Router, Vue Router, or client-side routing, place an .htaccess file inside your static root folder:

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] </IfModule>
6

Git Auto-Deploy & Automated Backups

Configure GitHub/GitLab Webhook URL to automatically sync static asset updates whenever you push commits to your repository. Access automated daily, weekly, and monthly site backups with 1-click restore.

⚡

Node.js Application Deployment Guidelines

6-Step Guide for Express, NestJS, Next.js & Node Servers

1

Deploy Site & Configure Stack

Click Deploy New Website and select 🟢 Deploy Node.js Application:

• Domain Setup: Choose Free Subdomain (.galaxy.hosting2030.com) or Your own Domain.

• Node.js Runtime Version: Select Node.js 26 (v26 Latest / Default), Node.js 24, Node.js 22 LTS, Node.js 20 LTS, Node.js 18 LTS, or Custom Version (minimum Node 16).

• Package Manager: Select npm (Default), yarn, or pnpm.

• Application Proxy Port: Specify your app's listening port (Default: 3000). Reverse proxy routes web traffic (ports 80/443) directly to this port.

• Optional Git Linkage: Enter your Git Repository URL & branch (main) to generate a unique outbound Deploy SSH Key.

• Optional Database Creation: Check Create a Database (MySQL port 3306 or PostgreSQL port 5432). Auto-Create .env is checked by default: automatically writes the Database Host, credentials, and DATABASE_URL directly into public_html/.env.

Click Provision Website.

2

Prepare package.json Entry Point

Ensure your package.json specifies a valid "start" script (e.g. "start": "node server.js" or "start": "node app.js"). The system automatically detects entry files: server.js ➔ index.js ➔ app.js ➔ src/index.js ➔ dist/main.js.

3

Upload Code & Install Dependencies Option A: Manual Upload

Upload project files via SFTP (user webuser, dedicated SFTP port) or Console File Manager, or deploy via Git. In the Node.js & PM2 Control Panel, click Install Dependencies (npm install, yarn, or pnpm). For TypeScript/NestJS, run build (npm run build).

4

Configure Environment Variables (.env)

If you created a database during site provisioning, your .env file is already pre-configured with your database connection details. If configuring manually, copy the Database Host IP and credentials from the 🔐 System Credentials panel on your site card (never use localhost). Configure API keys, JWT secrets, and ensure PORT=3000 matches your configured application proxy port.

5

Process Management & Git Webhook Auto-Deploy Option B: Git Auto-Deploy

PM2 manages your Node application processes 24/7 with auto-restart on crashes. Start, stop, or reload processes directly in the Node.js & PM2 Control Panel. Add your site Webhook URL to GitHub/GitLab to automatically pull code, install packages, and reload PM2 processes on git push with zero downtime.

6

In-Browser Web Terminal, Live Logs & Backups

Open the in-browser Web Terminal for Node CLI tasks or ORM migrations (e.g. npx prisma migrate deploy). Stream live stdout/stderr application logs in Console. Automated backups exclude heavy node_modules folders for fast backup generation with 1-click restore.

🐍

Python Web App Deployment Guidelines

6-Step Guide for Django, Flask, FastAPI & Streamlit Apps

1

Deploy Site & Configure Stack

Click Deploy New Website and select 🐍 Deploy Python Application:

• Domain Setup: Choose Free Subdomain (.galaxy.hosting2030.com) or Your own Domain.

• Python Version: Select Python 3.12 (Recommended / Default), Python 3.13, Python 3.11, or Python 3.10.

• App Subdirectory (Optional): Specify your application subfolder (e.g. app) or leave blank for root.

• Application Proxy Port: Specify your app's listening port (Default: 8000). Reverse proxy routes web traffic (ports 80/443) directly to this port.

• Optional Git Linkage: Enter your Git Repository URL & branch (main) to generate a unique outbound Deploy SSH Key.

• Optional Database Creation: Check Create a Database (MySQL port 3306 or PostgreSQL port 5432). Auto-Create .env is checked by default: automatically writes the Database Host, credentials, and DATABASE_URL directly into public_html/.env.

Click Provision Website.

2

Prepare Entry File & requirements.txt

Include a requirements.txt file in your project root. The platform automatically detects your application:
• Django: manage.py + wsgi.py
• Flask / WSGI: app.py, wsgi.py, main.py, or server.py
• FastAPI (ASGI): FastAPI app run with Uvicorn
• Streamlit: streamlit run app.py

3

Virtual Environment & Pip Install Option A: Manual Upload

Upload codebase via SFTP (user webuser, dedicated SFTP port) or Console File Manager, or deploy via Git. Click Pip Install in the Python Control Panel to install requirements into your virtual environment (/venv/). Your hosting environment includes pre-installed support for psycopg2 and mysqlclient.

4

Configure Environment Variables (.env)

If you created a database during site provisioning, your .env file is already pre-configured with your database connection details. If configuring manually, copy the Database Host IP and credentials from the 🔐 System Credentials panel on your site card (never use localhost). Configure SECRET_KEY, ALLOWED_HOSTS, and database URLs in public_html/.env. Always ensure your application listens on port 8000 (or your configured proxy port).

5

Process Control & Git Webhooks Auto-Deploy Option B: Git Auto-Deploy

Gunicorn / Uvicorn WSGI/ASGI service workers run in the background. Start, stop, or reload application processes directly in the Python Control Panel. Add your site Webhook URL to GitHub/GitLab to automatically pull code, run pip install, and reload application services on git push.

6

In-Browser Web Terminal, Migrations & Backups

Use the Web Terminal for CLI tasks (e.g. python manage.py migrate, alembic upgrade head). Stream live application logs in Console. System backups automatically exclude virtual environment folders (venv/, __pycache__/) with 1-click restore.