W
WordPress SOPKnowledge Base
Search
← All topics

Hostinger WordPress Hosting Management

runnable

Hostinger hPanel operations for WordPress: adding sites, PHP version and memory configuration, SSH access on port 65002, staging creation and push-to-production, Hostinger API for automation, and MainWP integration.

hostingerhpanelhostingphpsshstaging
Agent trigger phrases: hostinger wordpress · hpanel wordpress · hostinger php version · hostinger ssh · hostinger staging · hostinger api · hostinger mainwp · hostinger cloud hosting

Hostinger hosts 154 agency sites on Cloud Startup and Business plans. Key hPanel operations and automation patterns.

Add WordPress Site

  1. hPanel > Websites > Add Website > WordPress
  2. Choose hosting plan (Cloud Business for agency sites)
  3. Set admin email, username, password
  4. Domain: attach existing domain or use free .hostingerapp.com subdomain 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

  1. Install MainWP Child on each Hostinger site
  2. In MainWP Dashboard: Sites > Add Site > Enter site URL and security key
  3. If connection fails: check Hostinger firewall > allow MainWP Dashboard server IP
  4. Tag all Hostinger sites as hostinger in MainWP for filtered fleet views

File Manager (No SSH)

hPanel > Files > File Manager:

  • Full file browser with upload, download, edit, permissions
  • Edit wp-config.php directly 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