Skip to content
prod e051e98
Browse

Set up shared hosting

Objective — Make a shared-hosting account ready for app deploys (Admin-Server scripts, cron, SSH, alerts) before you run an app-specific deploy playbook.

An app setup playbook walks one app from source to production. Shared-hosting setup walks one Hostinger/cPanel account from empty (or shared) to operational — the Admin-Server toolkit, backup cron, and alert webhooks that every app on that account will reuse.

graph LR
A["New hosting account"] --> B["Shared-hosting setup<br/>(this guide)"]
B --> C["App setup<br/>one app"]
C --> D["Continuous-deploy · ongoing"]

If you already run other projects on the account and ls ~/Admin-Server/scripts/*.sh returns scripts, choose verify existing instead of reinstalling.

OutcomeHow you know it is done
Admin-Server toolkit on the accountssh alias '~/Admin-Server/scripts/status.sh' exits 0
Cron documented in hPanelSix cron entries match the status script output
Discord (or Slack) deploy alerts wiredTest ping from deploys channel config
SSH alias in your ~/.ssh/configssh staging / ssh production work without passwords
SituationAction
Brand-new hosting accountFull shared-hosting install (Admin-Server + cron + alerts)
Account already runs other Zaj appsVerify-only — run status script, fix gaps
Shared portfolio serverSame as verify — never duplicate Admin-Server

The executable version now lives on the Build shelf:

  • Shared-hosting setup playbook — once-per-account Admin-Server setup, cron, webhooks, MD5 baselines, and the verified skip path
  • Your app-specific deploy playbook — the consumer that assumes server prerequisites are met before deploy work