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.
Why this is separate from app setup
Section titled “Why this is separate from app setup”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.
What this delivers
Section titled “What this delivers”| Outcome | How you know it is done |
|---|---|
| Admin-Server toolkit on the account | ssh alias '~/Admin-Server/scripts/status.sh' exits 0 |
| Cron documented in hPanel | Six cron entries match the status script output |
| Discord (or Slack) deploy alerts wired | Test ping from deploys channel config |
SSH alias in your ~/.ssh/config | ssh staging / ssh production work without passwords |
Three paths in
Section titled “Three paths in”| Situation | Action |
|---|---|
| Brand-new hosting account | Full shared-hosting install (Admin-Server + cron + alerts) |
| Account already runs other Zaj apps | Verify-only — run status script, fix gaps |
| Shared portfolio server | Same as verify — never duplicate Admin-Server |
Where to execute
Section titled “Where to execute”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
Related
Section titled “Related” Shared-hosting setup playbook Run this when a hosting account needs the Admin-Server toolkit, cron, and alert webhooks.
All playbooks Choose the app-specific workflow that consumes this server setup.