Skip to content

🚀 JPS VPS Management Dashboard

Building the Future, One Website at a Time

💻 69.62.67.12 🐧 Ubuntu 24.04 ⚡ OpenLiteSpeed 🐘 PHP 8.4 🗄️ MariaDB 10.11

🚀 Deploy / Delete Sites

Deploy New Site:
jps-deploy-site
With Domain:
jps-deploy-site -d example.com

⚠️ Delete removes ALL data permanently!

Delete (with prompt):
jps-remove-site example.com
Force Delete:
jps-remove-site example.com --force

Pre-Deploy Checklist:

  • Add A record in Cloudflare → 69.62.67.12
  • Gray cloud (DNS only) for SSL cert
  • Wait 1-2 min for propagation

📊 Server Audit (jps-audit)

Server-level monitoring that complements MainWP/WPMU DEV.

Quick Check:
jps-audit --brief
Full Audit:
jps-audit
Save Snapshot:
jps-audit --save
Compare Drift:
jps-audit --diff
CPU/Memory Disk/Site Services Security SSL Expiry WP Versions Checksums

🔧 OpenLiteSpeed

Restart:
/usr/local/lsws/bin/lswsctrl restart
Status:
systemctl status lsws
Stop:
/usr/local/lsws/bin/lswsctrl stop
Start:
/usr/local/lsws/bin/lswsctrl start

Diagnostics:

List Sites:
jps-list-sites
Check Ports:
ss -tlnp | grep -E '80|443'
Error Logs:
tail -50 /usr/local/lsws/logs/error.log

🔑 Credentials & Paths

View Site Credentials:
cat /usr/local/websites/{domain}/CREDENTIALS.txt

Key Locations:

Website Files /usr/local/websites/{domain}/html/
VHost Configs /usr/local/lsws/conf/vhosts/{domain}/
OLS Main Config /usr/local/lsws/conf/httpd_config.conf
SSL Certs /etc/letsencrypt/live/{domain}/
Deploy Scripts /opt/jps-deploy/
Server Tools /opt/jps-server-tools/

🛠️ Common Fixes

Fix File Permissions:
chown -R nobody:nogroup /usr/local/websites/{domain}/html/
Regenerate SSL:
certbot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/cloudflare.ini -d example.com -d www.example.com
Clear SSL First:
rm -rf /etc/letsencrypt/live/{domain} /etc/letsencrypt/renewal/{domain}.conf /etc/letsencrypt/archive/{domain}
Site Error Log:
tail -50 /usr/local/websites/{domain}/logs/error.log

🐙 Git Workflow

Windows: GitHub Desktop + VS Code | VPS: git CLI

On VPS - Pull Updates:

Deploy System:
cd /opt/jps-deploy && git pull
Server Tools:
cd /opt/jps-server-tools && git pull

On VPS - Push Changes:

git add -A && git commit -m "message" && git push
User: jpsadmin Pass: GitHub Token

✅ Backup Verify (jps-backup-verify)

Proves backups restore. Note: WPVivid → Google Drive (download to verify locally)

Verify Site:
jps-backup-verify example.com
Verify All:
jps-backup-verify --all
List Backups:
jps-backup-verify --list
History:
jps-backup-verify --report

🔌 Hostinger MCP (Claude Desktop)

Claude Desktop can query VPS directly via Hostinger API.

Example Prompts:

  • "Check my Hostinger VPS status"
  • "Show VPS metrics from last 7 days"
  • "What firewall rules are configured?"
  • "List my Hostinger domains"
MCP Config (Windows):
%APPDATA%\Claude\claude_desktop_config.json

🧰 Command Reference

Command Purpose Command Purpose
jps-deploy-site Deploy new WordPress site jps-audit Server health & drift detection
jps-remove-site Delete a site completely jps-audit --brief Quick health summary
jps-list-sites List all hosted sites jps-backup-verify Verify backup integrity

Phase 2 (Coming Soon):

jps-status Quick site inventory jps-monitor Health checks for cron
jps-checkpoint Pre-change backup trigger jps-site-suspend Disable site without deleting

💻 Windows Dev Environment

Tools:

  • GitHub Desktop (Git Bash shell)
  • VS Code (editor)
  • Claude Desktop + Hostinger MCP

Local Repos:

D:\Google Drive - Admin\GitHub\

Workflow:

Edit locally → Commit/Push (GitHub Desktop) → Pull on VPS
Or: Edit on VPS → Push → Fetch/Pull locally