---
title: How I Moved 9 Live Sites Between Hostinger Cloud Plans Without Paying for Migration (Case Study)
description: "How I moved 9 live sites between Hostinger Cloud plans in 2 days with SSH, rsync and mysqldump: no migration fee, no data lost, and the 11 problems I fixed."
url: "https://hostingguider.com/blog/hostinger-cloud-migration-case-study/"
canonical_url: "https://hostingguider.com/blog/hostinger-cloud-migration-case-study/"
date: "2026-11-27T09:12:07+00:00"
modified: "2026-11-27T09:12:07+00:00"
author: Shaddam Hossain
type: article
site: HostingGuider
language: en-US
---

# How I Moved 9 Live Sites Between Hostinger Cloud Plans Without Paying for Migration (Case Study)

In November 2026 I moved 9 live websites from an expiring Hostinger Cloud Startup plan to a new one in two working days, paid nothing for migration, and lost no data. Most sites were down for 5 to 20 minutes each, at night for my US visitors.

I’m the founder of HostingGuider and of [TLinky](https://tlinky.com/?utm_source=hostingguider.com), a URL shortener, and with a small team I run a portfolio of websites for US readers. So this is not a generic **how to migrate** post. It is what actually happened on my own sites: the plan, the commands, the eleven problems that showed up, and how each one was fixed.

**Quick answer:** to move sites between two Hostinger plans for free, copy the files server to server with rsync over SSH, export each database with mysqldump, and switch the domain with hPanel’s Change domain → temporary domain option. That last trick keeps the old site intact, so you can roll back in minutes.

One honest note: I did this with Claude, an AI assistant, guiding me step by step. I ran every command myself, and no password was ever shared with the AI. I’ll come back to how that worked at the end.

![Case study summary: 9 live sites moved in 2 days with no migration fee and no data lost](https://hostingguider.com/wp-content/uploads/2026/11/hostinger-migration-case-study.webp)

## Table of Contents

## Why we moved, and what was on the plan

My old [Cloud Startup plan](https://hostingguider.com/reviews/hostinger-cloud-startup-review/) was set to expire on November 30 without renewal. I bought a new Cloud Startup plan on November 15, which left 15 days to move everything.

The hard part was not the number of sites. It was how different they were:

| Site type | Platform | What made it tricky |
| --- | --- | --- |
| Online store | WordPress + WooCommerce | Orders can come in during the move |
| Two content sites | WordPress | Wordfence data tied to old server paths |
| Plugin company site | WordPress, plus a WordPress demo subdomain, a static preview subdomain and a separate Laravel tools app in a subfolder | Three databases hiding inside one domain |
| Company profile site | Static | Easy, done by hand |
| QR code generator | Laravel | Needs a newer PHP version |
| Product landing site | React, deployed from GitHub | No files to copy at all |
| TLinky marketing site | WordPress, 517 MB database | Our main product, no room for mistakes |
| TLinky app | Custom PHP (URL shortener), 236 MB database, about 482,000 files (15 GB) | File count, short domains, customer custom domains, cron jobs |

All of them sit behind Cloudflare, and most of my visitors are in the USA. Both facts shaped the decisions below.

## Two decisions before touching anything

### 1. Data center: ignore the ping numbers in hPanel

When you set up a new plan, hPanel shows a ping time for each data center. From my office in Dhaka, Mumbai showed 36 ms and the US locations showed 269 to 282 ms. It looks like Mumbai is the obvious pick.

It is not. Those numbers measure the distance from my computer, not from my visitors. My visitors are in the USA, so a US server is roughly 20 to 70 ms from them, while Mumbai would be around 200 ms or more. That gap shows up directly in TTFB and [Core Web Vitals](https://hostingguider.com/blog/core-web-vitals/).

![Comparison: from the office in Dhaka Mumbai showed 36 ms and US locations 269 to 282 ms; from US visitors a US server is about 20 to 70 ms and Mumbai about 200 ms or more](https://hostingguider.com/wp-content/uploads/2026/11/hostinger-data-center-ping.webp "Choose the data center by where your visitors are, not where you sit.")

So I chose a US data center. If your audience is spread across the country, an East Coast or central location is usually the safest middle ground. The only cost: wp-admin and SSH feel a little slower from Dhaka. My visitors never see that.

### 2. Method: why I didn’t use Hostinger’s migration tool

Hostinger has an automatic migration tool, but for moves between your own plans it is a paid feature, and it only handles WordPress. Five of my nine sites were not WordPress, so I needed one method that works for everything.

That method was SSH: copy files directly from the old server to the new one with rsync, and dump databases with mysqldump. Server to server is far faster than downloading a zip to my PC and uploading it again, and rsync can resume where it stopped.

To let the two servers talk without sharing any password, I created an SSH key on the new server and added only its public key to the old plan in hPanel (Advanced → SSH Access → SSH Keys). After the move, I deleted the key from both sides.

## How each site was moved

Every site followed the same seven steps, smallest site first. The first three happen while the site is still live, so the real downtime is only the switch at the end.

1. Copy the files to the new server with rsync.
2. Export the database with mysqldump.
3. Run a final rsync right before the switch.
4. On the old plan, change the domain to a temporary Hostinger domain.
5. Add the real domain to the new plan.
6. Place the files, import the database and fix the old server paths.
7. Test the site, then point DNS (Cloudflare) to the new IP.

![Seven migration steps: copy files with rsync, export the database, final rsync, change the old domain to a temporary domain, add the domain to the new plan, place files and import, test and point DNS](https://hostingguider.com/wp-content/uploads/2026/11/hostinger-migration-seven-steps.webp "The old copy stays untouched until the new site passes its test.")

The key is step four. Instead of deleting the site from the old plan, I changed its domain to a temporary Hostinger domain. That frees the real domain for the new plan, but the old files and database stay untouched. If the new site fails its test, I swap the domains back and point DNS to the old IP. I never needed it, but it made every switch calm.

The core commands, simplified (run on the new server, placeholders in capitals):

```
# 1. Copy files from the old plan; nohup keeps it running if SSH drops
nohup rsync -az -e "ssh -p 65002 -i ~/.ssh/migrate_key" OLDUSER@OLD_IP:domains/example.com/ ~/migration/example.com/ &

# 2. Export the database; credentials are read on the old server and never printed
ssh -p 65002 -i ~/.ssh/migrate_key OLDUSER@OLD_IP 'cd domains/example.com/public_html && mysqldump --no-tablespaces --single-transaction -u "$(wp config get DB_USER)" -p"$(wp config get DB_PASSWORD)" "$(wp config get DB_NAME)"' > ~/migration/example.com.sql

# 6. After the domain switch: place files, import, fix old paths
rsync -a ~/migration/example.com/public_html/ ~/domains/example.com/public_html/
mysql -u NEW_DB_USER -p NEW_DB_NAME < ~/migration/example.com.sql
wp search-replace 'OLDUSER' 'NEWUSER' --all-tables
```

Two sites didn’t follow this exactly. The React site had no files to copy: I connected the same GitHub repository on the new plan and Hostinger rebuilt it in about 90 seconds. For the 15 GB app, I moved the files into place with mv instead of copying them a second time.

## The problems we hit, and how each was fixed

Nothing here was exotic. These are the problems most people will meet on a manual move, which is exactly why they are worth writing down.

| # | What went wrong | Why | Fix |
| --- | --- | --- | --- |
| 1 | `wp db export` produced a 0-byte file with no error | The server blocks the PHP functions WP-CLI uses to start mysqldump | Ran mysqldump directly, reading the DB name, user and password from wp-config.php on the server, so nothing showed on screen |
| 2 | Can’t add a domain to the new plan | Hostinger won’t let one domain sit on two plans | Change domain → temporary domain on the old plan instead of deleting the site |
| 3 | Commands half-ran, a password became **grep -rl…** | Pasting many lines at once: SSH and password prompts swallow the next lines | One-line commands only, and nothing pasted after a password prompt |
| 4 | Old server paths everywhere | .htaccess, Wordfence files and about 37,000 database rows stored /home/olduser/… | grep + sed for files, `wp search-replace` for the database |
| 5 | Laravel app showed Error 500 | Its Composer packages need PHP 8.4.1+, the new site defaulted lower | Set PHP 8.4 for that site in hPanel |
| 6 | Then: **Auth guard [sanctum] is not defined** | Clearing Laravel’s caches also wiped its package list | Restored bootstrap/cache/packages.php and services.php from the old copy |
| 7 | A second Laravel app hidden in /tools | It had its own database the main site didn’t use | Scanned every folder for wp-config.php and .env before switching any domain |
| 8 | Logo missing in the tools app (403) | Its .htaccess blocked the whole storage folder, logo included. It was broken on the old server too | Allowed only storage/app/public, kept .env and logs blocked |
| 9 | LiteSpeed Object Cache: **Memcached Extension: Disabled** | Sites were added as PHP/HTML, so hPanel didn’t know they were WordPress and showed no Object Cache switch | Ran Hostinger’s WordPress detection, then enabled Object Cache per site. Connection Test: Passed |
| 10 | 482,000 files, copy ran for hours, then **Connection reset** | The SSH session died and took rsync with it | Restarted with `nohup rsync ... &` so it runs on the server, then moved (mv) the files into place instead of copying, to save inodes |
| 11 | Custom PHP app: syntax error, then **Cannot find the settings table** | A sed command broke the password line in config.php, then the password itself was wrong | Wrote the password with PHP’s var_export, checked with `php -l`, reset the DB password |

Two smaller things worth checking on any move: an old session.save_path in the app’s php.ini still pointed to a folder from a host we left years ago, and our SPF records still listed the old server’s IP.

## Results

All 9 sites, 3 subdomains and the hidden tools app moved in two days (November 15 and 16), with no data lost and no migration fee.

| Site | Data moved | Downtime (approx.) | Note |
| --- | --- | --- | --- |
| Online store (first site, test run) | 370 MB files, 90 tables | about 20 min | Slowest, because I was learning the steps |
| TLinky marketing site | 621 MB files, 517 MB database, 109 tables | about 5 to 10 min | Database import took about 2 minutes |
| TLinky app | 15 GB, about 482,000 files, 236 MB database | about 30 min | Export 38 s, import 41 s; the rest was the config mistake (#11) |
| React site | nothing copied | a few minutes | Redeployed from GitHub, build took about 90 s |

These times are my own estimates from the session, not measured with a monitoring tool. I switched each site between noon and 4 pm Dhaka time, which is the middle of the night in the US.

One result I didn’t plan for: after hPanel detected the WordPress sites, [LiteSpeed Object Cache](https://hostingguider.com/guides/litespeed-cache-best-settings-wordpress/) finally passed its connection test. It had most likely never worked on the old plan either.

## The best part: how easy SSH made it

The biggest surprise was how smooth the whole move felt. I expected days of downloading zips, uploading them again and fighting phpMyAdmin timeouts. Instead, SSH did the heavy lifting.

- **Server to server, not through my PC.** The online store’s 370 MB of files copied in under two minutes. My office internet never came into it.
- **No size limits.** A 517 MB database exported and imported in a couple of minutes, with no upload limit or browser timeout.
- **Safe to repeat.** rsync only copies what changed, so a final sync right before each switch took seconds.
- **Easy to check.** One command showed table counts, file counts or the last line of a dump, so I knew each step worked before moving on.

[Hostinger’s Cloud plans](https://hostingguider.com/recommend/hostinger) include SSH access, and that made this free, fast migration possible. If your plan has SSH, use it. It turns a stressful job into a calm, repeatable routine.

## What I’d tell anyone doing this

1. **Never delete the old site first.** Change its domain to a temporary one. Rollback stays a five-minute job.
2. **Copy before you switch.** Files and databases can be copied while the site is live. Downtime is only the final switch.
3. **Do the smallest site first.** My first site took 20 minutes; the important one took under 10.
4. **Scan for hidden apps.** Search every folder for wp-config.php and .env files. Subfolders and subdomains often have their own database.
5. **Match the PHP version per site.** A Laravel or custom app can fail with a plain 500 if the version is lower.
6. **Run long copies with nohup.** An SSH drop should not cost you hours.
7. **Mind the inode limit.** Keeping two copies of 482,000 files would have used nearly half of our 2 million inode limit. Move the files into place instead of copying them.
8. **Check the leftovers:** cron jobs, SPF records, custom domains pointed by IP, PHP extensions, and Object Cache.
9. **Keep passwords out of chats and screenshots.** If one leaks, change it right away. It happened to me once during this move.

![Checklist: never delete the old site first, copy before you switch, smallest site first, scan for hidden apps, match the PHP version, run long copies with nohup, mind the inode limit](https://hostingguider.com/wp-content/uploads/2026/11/hostinger-migration-lessons.webp "Most problems in this move came from skipping one of these.")

## My experience: Claude, SSH and my own terminal

I’m genuinely happy with how this move went. It was a much easier job than I expected. I sat at my own terminal, Claude gave me one short command at a time, and SSH moved everything server to server while I watched the output.

When something broke, like the 0-byte export or the Laravel 500, I pasted the error, got a plain reason and a fix, and carried on. I never felt lost, and I stayed in control of every command and every password.

Two working days for 9 live sites, no migration fee and no data lost. I’d do the next move the same way.

That next move is already planned: the URL shortener app is moving to its own VPS, so a problem there can never take the other sites down with it.

Claude planned each step, wrote the commands, read my terminal output and spotted problems such as the silent 0-byte export and the broken config line. I typed every command and kept all passwords to myself. Where Hostinger’s API allowed it, it also checked things directly, such as confirming a site had moved and turning on Object Cache for six sites at once.

It made mistakes too: one sed command broke a config file, and early multi-line commands failed when pasted. Treat an assistant like a fast, careful colleague, not an autopilot.

## FAQ

### Can I move a non-WordPress site between Hostinger plans for free?

Yes. Hostinger’s tool only covers WordPress, but SSH, rsync and mysqldump work for any site.

### Do I need to delete the site from the old plan?

No. Use Change domain → temporary domain. The domain is freed and the old copy stays as your backup.

### How long does it take?

For a normal WordPress site, about 15 to 30 minutes of work and 5 to 20 minutes of downtime. A site with hundreds of thousands of files can take hours to copy, but the copy happens before the switch.

### Is Hostinger’s migration tool free between your own plans?

No. For moves between your own plans it is a paid feature, and it only handles WordPress. SSH, rsync and mysqldump did the same job for free.