/hostinger:migrate-to-hostingfrom hostinger
Migrates websites to Hostinger hosting (Shared, Cloud, Agency) without downtime. Supports WordPress, static, PHP, and Node.js sites. Creates site on real domain, imports files/database, tests before DNS switch.
Ships in hostinger. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The old host keeps serving the site until the copy on Hostinger is proven to work. DNS moves last.
inputSchema that search returns before the first call of each operation. If a name below is rejected as unknown, search for what the step does (e.g. "import wordpress").multi-execute. Batches chain operations from one server only — the Hostinger Connector runs hosting, wordpress, agency-hosting, domains and dns as separate servers.Establish, asking only for what cannot be inferred:
wp-content and wp-config.php) and a .sql dump..sql dump when the app has a database.tar -czf site.tar.gz -C /path/to/site . and mysqldump --single-transaction -u USER -p DBNAME > db.sql.https, with or without www) — WordPress keeps it in the database, so the new site must answer on the same one.dig +short NS DOMAIN; dig +short A DOMAIN; dig +short MX DOMAIN; dig +short TXT DOMAIN
Create the Hostinger website on the domain being migrated, not on a free subdomain: step 4 tests it by pointing only this machine at Hostinger, so nothing changes for visitors yet.
hosting_domains_verify-ownership first. When is_accessible is false, the user adds the returned TXT record at their current DNS provider, next to the existing ones, and verification is repeated. Then hosting_websites_create with domain and order_id (from hosting_orders_list), and poll hosting_websites_list-setups with domain every 10–15 s until status: completed.agency-hosting_website-setups_create with the domain, flavor: "php-fpm", a settings.php.version matching the old host (options in agency-hosting_php_list-versions-for-order) and datacenter_code from agency-hosting_datacenters_list. Poll agency-hosting_website-setups_status until completed for the website_uid.hosting_deploy with path and agency-hosting_deploy-php-application read files from this machine, so only the local hostinger-api-mcp server has them; the hosted server's hosting_deploy deploys Git repositories only. On the hosted server (mcp.hostinger.com), upload the files first as described in the deploy-to-hosting skill ("Without the local deploy operations") and use the operation named in brackets below.
WordPress, Shared and Cloud: hosting_deploy with domain, path (the site directory or its archive), databaseDump and type: "wordpress-site" uploads both, extracts the files and imports the database; large sites take several minutes. Always pass type: left to detection, a directory without wp-config.php or wp-content at its top level is taken for a plain site and the dump is not imported. [Upload site.zip and dump.sql, then wordpress_installations_import-website with archive_path and sql_path.] Then wordpress_installations_detect with username and poll wordpress_installations_list with domain until the install appears with is_valid: true.
Static, or PHP without a database: hosting_deploy with domain and path [upload, then hosting_websites_deploy-static-site-archive]; Agency: agency-hosting_deploy-php-application [upload to .h5g/, then agency-hosting_files_import-website-from-archive].
PHP with a database, Shared and Cloud:
hosting_databases_create with a strong generated password; read the full name, user and host back from hosting_databases_list.curl -s https://api.ipify.org) with hosting_databases_create-remote-connection, run mysql -h HOST -u USER -p NAME < db.sql, then remove the rule with hosting_databases_delete-remote-connection. Without a MySQL client, use hosting_databases_phpmyadmin-link and import there.localhost, before archiving; then deploy as above. Never ship the srvNNNN.hstgr.io host inside the app.Node.js: deploy with the deploy-to-hosting skill. When a dump must be imported, create the database with hosting_databases_create rather than hosting_databases_setup-website — the latter never reveals the password needed for the import — and pass the credentials through environment variables.
Agency: files with agency-hosting_deploy-php-application [or upload plus agency-hosting_files_import-website-from-archive]; the database with agency-hosting_databases_create-website, imported through phpMyAdmin in hPanel (no import operation exists). For WordPress, set the new credentials in wp-config.php before archiving.
Find the server address: details.ipv4 for Agency; for Shared and Cloud, the A record for @ in the Hostinger zone (dns_records_list on the domain) or the IP hPanel shows for the website. Then point only this machine at it:
curl -sSk --resolve DOMAIN:443:IP -o /dev/null -w "%{http_code}\n" https://DOMAIN/
curl -sSk --resolve DOMAIN:443:IP https://DOMAIN/ | grep -o "TEXT FROM THE LIVE SITE"
curl -sSk --resolve DOMAIN:443:IP -o /dev/null -w "%{http_code}\n" https://DOMAIN/wp-login.php
-k is expected here: the certificate for the domain can only be issued after DNS moves. Check the home page, an inner page and, for WordPress, the login page. For a look in the browser, the user adds IP DOMAIN www.DOMAIN to their hosts file and removes it afterwards. Fix anything broken now, while visitors still see the old site.
Follow the connect-domain skill from its DNS step: keep every MX and TXT record from step 1, then install SSL once the domain resolves to Hostinger. When the user controls the old DNS, lowering the TTL of the A records to 300 a day ahead shortens the switch.
--resolve: curl -sSI https://DOMAIN/ shows platform: hostinger.hosting_cron-jobs_create (Agency: agency-hosting_cron-jobs_create-website).What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/audit-hostingAudit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website, SSL problems, broken or vulnerable WordPress installs, failed Node.js builds and vulnerable npm packages, databases and Agency Plan orders near their limits, and hosting plans about to lapse. Read-only; produces a prioritised to-do list and names the skill that fixes each item. Triggers: what do I have on Hostinger, audit my hosting, check all my websites, what needs attention, health check my sites, are any of my sites broken, which of my sites are insecure./audit-vpsAudit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU, memory, disk and monthly traffic use, firewall missing or not synced, SSH keys, Monarx malware counts, backup age, Docker Manager projects that are not healthy, old OpenVZ servers, and VPS plans about to lapse. Read-only; produces a prioritised to-do list and names the skill or hPanel page that fixes each item. Triggers: what VPS do I have, audit my servers, check all my VPS, which servers need attention, health check my VPS, are my servers secure, is my VPS backed up, when does my VPS expire./connect-domainConnect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to the site, point DNS at Hostinger without breaking existing email or verification records, install SSL, turn on the HTTPS redirect, and verify it resolves. Handles domains registered at Hostinger or elsewhere, moving a site off its free *.hostingersite.com subdomain, subdomains and aliases. Triggers: connect my domain, point my domain to my site, use my own domain, move off the free subdomain, add a subdomain, park a domain, add a domain alias, my domain is not working./deploy-to-hostingDeploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express, Vite and similar), PHP apps and WordPress plugins or themes, sets up auto-deploy from GitHub or GitLab, manages Node.js environment variables and MySQL databases, and verifies the live site. Triggers: deploy this project, deploy to Hostinger, push my app live, redeploy, set up auto-deploy, connect my GitHub repo, add environment variables, my app needs a database, deploy my WordPress plugin or theme./deploy-to-vpsDeploy an existing project to a Hostinger VPS (KVM plans): sets up SSH key access, applies a Hostinger firewall group, runs Docker Compose projects through the Docker Manager where the server has it, or over SSH on any server, points a domain at the server, takes a snapshot before risky changes and verifies the result from outside. Triggers: deploy this to my VPS, run this docker-compose on my Hostinger server, put my app on the server, set up nginx and SSL on my VPS, point my domain to my VPS, redeploy on the VPS, add my SSH key to the VPS./hostinger-connectConnect your coding agent to your Hostinger account: signs in, adds the Hostinger MCP server to Claude Code, Codex, Cursor or VS Code (or gives the remote server URL for any other tool), and tells the user when it's ready. Only sets up the connection; for building, deploying or changing a site use the other Hostinger skills. Triggers: connect my agent to Hostinger, set up the Hostinger MCP server, add Hostinger to my coding tool.npx claudepluginhub hostinger/claude-plugin --plugin hostingerOther plugins' skills for the same job