Hostinger hosts 154 agency sites on Cloud Startup and Business plans. Key hPanel operations and automation patterns.
Add WordPress Site
- hPanel > Websites > Add Website > WordPress
- Choose hosting plan (Cloud Business for agency sites)
- Set admin email, username, password
- Domain: attach existing domain or use free
.hostingerapp.comsubdomain during setup
PHP Configuration
hPanel > Hosting > PHP Configuration:
- PHP Version: 8.2 (recommended for WP 6.x)
- memory_limit: 256M
- max_execution_time: 300
- upload_max_filesize: 64M
- post_max_size: 64M
SSH Access
hPanel > Advanced > SSH Access > Enable:
- Port: 65002 (not 22 — Hostinger uses non-standard port)
- Username: shown in hPanel (format:
u123456789) - Auth: upload public key via hPanel > SSH Keys
# Connect to Hostinger shared hosting
ssh -p 65002 u123456789@server-ip
# Run WP-CLI on Hostinger
cd ~/public_html && wp plugin list
Staging Environment
hPanel > Websites > Manage > Staging > Create Staging:
- Staging URL:
staging.yourdomain.com - Automatic copy of production files and database
- Push to production: one-click via Staging > Push to Live
Never push staging wp-config.php to production — contains staging DB credentials.
Hostinger API (Automation)
# List WordPress installations
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
"https://api.hostinger.com/v1/hosting/sites"
# Get API token: hPanel > Profile > API Tokens > Generate New Token
MainWP + Hostinger Integration
- Install MainWP Child on each Hostinger site
- In MainWP Dashboard: Sites > Add Site > Enter site URL and security key
- If connection fails: check Hostinger firewall > allow MainWP Dashboard server IP
- Tag all Hostinger sites as
hostingerin MainWP for filtered fleet views
File Manager (No SSH)
hPanel > Files > File Manager:
- Full file browser with upload, download, edit, permissions
- Edit
wp-config.phpdirectly if SSH not available - Extract zip archives (for manual plugin/theme uploads)
Email Configuration
hPanel > Emails > Email Accounts:
- Create
info@domain.com,admin@domain.com - SPF/DKIM auto-configured for Hostinger mail servers
- For external email (Google Workspace): update MX records in DNS