Skip to content

Migrate from Kinsta to cPanel: the full WordPress cutover runbook

What MyKinsta actually hands you, which Kinsta layers have no equivalent on cPanel, and a cutover sequence with a rollback for moving a WordPress site off Kinsta.

Leaving Kinsta is two jobs wearing one name. MyKinsta hands you a downloadable archive containing your site files and a database dump, and moving that onto a cPanel account is the easy half. The other half is everything Kinsta runs outside the application: their Nginx configuration and full-page cache, the Kinsta CDN, the kinsta-mu-plugins must-use plugin, and the redirect rules that live in the MyKinsta panel and appear nowhere in your backup. None of that transfers. This runbook covers the full inventory, a named replacement for each layer on cPanel, a cutover order that keeps the two databases from diverging, and a rollback. The shape rhymes with the WP Engine version of this move, but the export mechanics and the platform-only pieces are different enough to be worth their own walk-through.

What you’ll accomplish

  • A written inventory of every Kinsta layer, with the cPanel replacement named — including the two that have no equivalent at all.
  • A complete copy of the site running on cPanel, smoke-tested against the real hostname before any DNS record moves.
  • A cutover with a deliberate read-only window, so writes never land on two databases at once.
  • A TLS certificate valid on the destination before the flip, and a mail path that actually delivers.
  • A rollback you can run in minutes, plus a clear statement of the moment it stops being cheap.

Prerequisites

On the Kinsta side you need MyKinsta access and the SFTP/SSH credentials shown under the site’s info tab. Kinsta’s containers include wp-cli, which is the fastest way to take a consistent database export and to inspect the install before you touch anything. On the destination you need a cPanel account with SSH enabled, a database and database user, and wp available on the box.

Answer six questions while the site is still live on Kinsta. Every one of them has bitten somebody at 2 a.m.

  1. What PHP version is the site actually running? A site on PHP 8.2 dropped onto a cPanel account defaulting to 7.4 fails in ways that look like a corrupted upload. Read it on the Kinsta side, then set the destination in cPanel’s MultiPHP Manager to match before you import anything.
  2. What database engine and version sits under each end? Kinsta runs MariaDB; your cPanel server may run MySQL, or a MariaDB of a different generation. A dump written by a newer server can carry a collation the older one refuses. Check both, and check before the cutover night rather than during it.
  3. How large is the database, table by table? Run wp db size --tables --size_format=mb. A few hundred megabytes changes both the import method and the length of your read-only window.
  4. What redirect rules exist in MyKinsta? These are applied above WordPress at Kinsta’s Nginx layer. They are not in .htaccess, they are not in the file backup, and they disappear the day you close the account. Copy the full list out of the panel now.
  5. Does the site use Redis object caching? If it does, there is an object-cache.php drop-in in wp-content/ pointing at a Redis instance that will not exist on the other side.
  6. Where does mail come from? Kinsta hosts no mailboxes, so your MX records already point at some other provider, and site-sent mail goes out over SMTP. Both facts change once the domain lands on a cPanel account.

Then lower the TTL on the A and AAAA records to 300 seconds, at least 24 hours before the cutover. This one step turns a bad cutover from a multi-hour rollback into a five-minute one.

How it works

Kinsta is a platform, not a server you happen to rent. The archive gives you WordPress; it does not give you the machinery wrapped around WordPress. The map below puts each Kinsta layer next to what has to exist on cPanel, and flags the two that have no automatic equivalent.

Before and after topology mapping each Kinsta platform layer to its cPanel replacement, with two layers flagged as having no equivalent

Four rows deserve more than a line.

The page cache. Kinsta serves most anonymous traffic from a full-page cache at their Nginx layer, in front of PHP. On cPanel that layer does not exist until you build it: LiteSpeed Cache on a LiteSpeed host, or WP Super Cache or WP Rocket on Apache. The difference is not cosmetic. A theme that felt quick on Kinsta was being measured with PHP largely bypassed, and that performance belonged to the platform, not to the code.

The MyKinsta redirect rules. This is the classic post-cutover surprise, because nothing warns you. Redirects configured in MyKinsta are stored in MyKinsta. A file-level backup contains no trace of them, so the migration looks complete and clean, and then a few hundred old URLs start returning 404 to search engines and to anyone with a bookmark. Export or transcribe them before you go anywhere near DNS.

The kinsta-mu-plugins must-use plugin. Kinsta injects a must-use plugin that provides the cache-purge integration and the Kinsta cache controls inside wp-admin. It lives in wp-content/mu-plugins/, so unlike the redirects it does travel in the backup — and it should not. Outside Kinsta’s environment it has nothing to talk to. Remove it, and while you are in mu-plugins/ check what else is there, because must-use plugins load unconditionally and never appear on the plugins screen where you would normally look.

The object cache. Redis is available on Kinsta and many production sites use it. Whether your cPanel server has Redis at all is a separate question with a real chance of the answer being no. This matters more than it sounds: a leftover object-cache.php drop-in pointing at a Redis that is not there does not degrade gracefully, it takes the site down. Removing that file is a required step, not a tidy-up.

Two smaller items round out the inventory. Kinsta’s APM is their own performance tracing tool and has no cPanel counterpart; if you relied on it, decide now what replaces it. And Kinsta’s staging environments are a platform feature with a one-click push between them; on cPanel a staging subdomain and a promotion process become yours to define.

Step-by-step

The order below matters more than any single command in it. Everything before the read-only window is rehearsal you can repeat as often as you like. Everything after it is live.

Horizontal cutover timeline from T-7 days through T+72 hours, with the read-only window marked as the only period of risk and a rollback branch back to the Kinsta origin

  1. Take a real inventory before you copy anything. Over SSH on the Kinsta side:

    wp core verify-checksums
    wp plugin list --status=active --fields=name,version
    ls -la wp-content/mu-plugins/
    ls -l wp-content/object-cache.php wp-content/advanced-cache.php

    verify-checksums should print Success: WordPress installs verify against checksums. Anything it flags is a modified core file you need to account for. The ls on mu-plugins/ will almost certainly show kinsta-mu-plugins/ and a loader file next to it. The last command tells you whether drop-ins exist; a No such file error for either one is a perfectly good answer.

  2. Generate the backup, and understand what it is. In MyKinsta you can request a downloadable backup of files and database. Automatic backups are taken on Kinsta’s schedule; a downloadable archive is generated on request. Either way, understand what you are holding: a snapshot from a specific moment. Everything written to the site after that moment — orders, comments, form entries, media uploads — is delta you will have to sync separately in step 9. Treat the archive as the bulk copy, never as the final copy.

  3. Take your own database export too. A dump you control is easier to reason about than one you unwrap from an archive:

    wp db export kinsta-bulk.sql --add-drop-table

    Expect Success: Exported to 'kinsta-bulk.sql'. If wp-cli is unavailable for any reason, the plain path works identically:

    mysqldump --single-transaction --default-character-set=utf8mb4 -u DBUSER -p DBNAME > kinsta-bulk.sql

    Then confirm it is not truncated. tail -3 kinsta-bulk.sql should end on a complete statement, not mid-INSERT. A truncated dump imports without complaint and silently loses the tail of your largest table.

  4. Move the files with rsync, not with a browser. From the cPanel account, pulling from Kinsta over their SSH port:

    rsync -avz -e 'ssh -p PORT' KINSTAUSER@KINSTAHOST:public/ ~/public_html/

    Take the port, user, and path from the site’s info screen in MyKinsta rather than assuming them. rsync finishes with a sent … received … bytes/sec summary and a total size; that total should be close to what the site reported on Kinsta. Run it as the cPanel account user, never as root — see the troubleshooting section for what happens when you do.

  5. Create the database and import. Use cPanel’s MySQL Database Wizard for the database and user, write a fresh wp-config.php with those credentials and new salts, then:

    wp db import kinsta-bulk.sql

    Success looks like Success: Imported from 'kinsta-bulk.sql'. If the import stops on an unknown collation, that is the version mismatch from prerequisite two, and the fix is in troubleshooting below.

  6. Remove the Kinsta-only pieces. Move rather than delete, so you can still read them if something surprises you:

    mv ~/public_html/wp-content/mu-plugins/kinsta-mu-plugins ~/kinsta-mu-plugins.bak
    mv ~/public_html/wp-content/object-cache.php ~/object-cache.php.bak
    mv ~/public_html/wp-content/advanced-cache.php ~/advanced-cache.php.bak
    ls wp-content/mu-plugins/

    A No such file or directory on the drop-ins is fine — it means they were never there. The final ls should show only must-use plugins you or your developers wrote. If object-cache.php survives this step and Redis is not running on the destination, the site will return a fatal error on every request, so verify:

    redis-cli ping

    PONG means Redis exists locally and you can install the Redis Object Cache plugin against it. Connection refused means you have no object cache on this server, which is survivable for most sites and genuinely painful for a busy WooCommerce store.

  7. Run search-replace, dry run first, always. The database is full of the Kinsta staging hostname and, if the CDN was on, the CDN hostname:

    wp search-replace 'sitename.kinsta.cloud' 'example.com' --all-tables-with-prefix --dry-run --report-changed-only

    Read the table of counts it prints and the closing Success: N replacements to be made line before you commit. Then run it for real:

    wp search-replace 'sitename.kinsta.cloud' 'example.com' --all-tables-with-prefix --precise

    --all-tables-with-prefix catches tables a plugin created under your prefix that the default scan skips; --precise forces PHP-side serialisation handling instead of the faster SQL path, which is the right trade when the data contains serialised arrays. The WP-CLI search-replace reference documents every flag. Repeat the pair for the CDN hostname, and once more for http:// to https:// if the old site was mixed.

  8. Rebuild the redirects and get the certificate issued. Translate the MyKinsta list into .htaccess rules or a redirect plugin, and test each one against the staging hostname. Then deal with TLS, because a certificate that appears only after the flip means the site serves a browser warning at the worst possible moment. cPanel’s AutoSSL validates domain control either over HTTP — which cannot succeed until the domain resolves to the cPanel server — or over DNS, by a TXT record you can add at your current DNS host while Kinsta still serves traffic. Use the DNS method if you want the certificate in place before the flip; cPanel’s documentation portal covers the DCV options. Confirm coverage before you go further:

    uapi SSL installed_hosts | grep -i domains

    Every hostname the site serves must appear — apex, www, and any subdomain. A certificate covering example.com but not www.example.com warns half your visitors.

  9. Open the read-only window, sync the delta, then flip DNS. This is the risky part and there is no version of it that is not. Put the Kinsta site into maintenance mode or otherwise stop accepting orders, comments, and form submissions. Then re-sync what changed since step 4:

    rsync -avz -e 'ssh -p PORT' KINSTAUSER@KINSTAHOST:public/wp-content/uploads/ ~/public_html/wp-content/uploads/
    wp db export kinsta-final.sql --add-drop-table

    The second rsync should report almost nothing transferred. Import the final dump, re-run the search-replace pair from step 7, and only then change the A record. During propagation both hosts answer requests, which is exactly why the freeze exists. For a busy WooCommerce store, be blunt with yourself about this: any order placed on Kinsta after the final export and before the freeze takes effect exists in one database and not the other. Either the window is genuinely read-only, or you plan to reconcile the order tables by hand.

  10. Flush caches and rewrite rules on the new host.

    wp cache flush
    wp rewrite flush --hard

    Expect Success: The cache was flushed. and Success: Rewrite rules flushed. The --hard form regenerates the rules in .htaccess rather than only in the database, which is what you want on Apache or LiteSpeed after a move.

Validate it works

Run this sweep once DNS has settled, roughly an hour after the flip:

wp option get siteurl
wp option get home
wp core verify-checksums
wp db check

siteurl and home must both return the final domain, never a .kinsta.cloud hostname. wp db check should report OK for every table.

Then check the outside view. Put your twenty highest-traffic URLs in a file and sweep them:

while read u; do printf '%s ' "$u"; curl -o /dev/null -s -w '%{http_code}\n' "$u"; done < top-urls.txt

Every line should read 200, or 301 for URLs you deliberately redirect. Any 404 in that list is almost always a MyKinsta redirect rule you did not rebuild. Next, check for mixed content and for anything still pointing at the old host:

curl -s https://example.com/ | grep -o 'src="http://[^"]*' | head
dig +short example.com @1.1.1.1
dig +short MX example.com

The first should print nothing. The second should return the cPanel IP from a public resolver. The third matters because Kinsta hosts no mail: your MX records point at an external provider, and cPanel will by default treat a domain on its own account as a local mail exchanger and swallow mail addressed to it. Set the domain to Remote Mail Exchanger in cPanel’s Email Routing screen, then send a real test — a password reset, a contact form, and an order confirmation, not just one of the three. Site-sent mail should go out over authenticated SMTP regardless.

Then watch. Traffic, error rate, and mail deliverability over the first seventy-two hours is where the problems a smoke test cannot reach show themselves. Keep a browser tab on the error log and on Search Console for that whole window.

The rollback

Keep the Kinsta site intact and paid for until the watch window closes. Deleting it is the one irreversible act in this process. If validation goes badly, revert the A record; at a 300-second TTL most resolvers follow within minutes, and Kinsta is still serving the same site it served yesterday.

That rollback is free only while the cPanel copy has taken no writes. The first real order or comment that lands on the new host means reverting DNS costs you those rows or costs you an evening reconciling them by hand. That boundary, not the DNS change itself, is the point of no return.

Troubleshooting

Old URLs 404 after cutover, and nothing in the site explains why. These are the MyKinsta redirect rules. They were applied above WordPress, they were never in .htaccess, and a file backup contains no record of them. If the Kinsta account is still open, go read them out of the panel. If it is closed, rebuild from your server logs and from Search Console’s coverage report, which will show you exactly which URLs started failing.

White screen or fatal error on every request, immediately after import. Almost always the object-cache.php drop-in from step 6, still trying to reach a Redis that does not exist on this server. Move the file aside, reload, and confirm before you go looking for anything more exotic.

Permalinks 404 on every page except the homepage. WordPress is running but the rewrite rules are not in place, either because mod_rewrite is off or because the .htaccess block did not survive the copy. Run wp rewrite flush --hard, confirm the WordPress block reappears in ~/public_html/.htaccess, and check that the account allows .htaccess overrides. The full diagnosis for post-migration permalink failures covers the cases this does not fix.

Uploads return 403, or WordPress cannot write to wp-content. You ran rsync as root and every file now belongs to root instead of the cPanel account user. Fix ownership and modes together:

chown -R CPUSER:CPUSER ~/public_html
find ~/public_html -type d -exec chmod 755 {} \;
find ~/public_html -type f -exec chmod 644 {} \;

Search-replace reported changes but serialised data is still broken. The site uses a non-standard table prefix, or a plugin created tables the default scan does not walk. Re-run with --all-tables-with-prefix, and add --precise so replacements go through PHP’s serialisation handling rather than the SQL fast path. Hand-written SQL UPDATE statements corrupt serialised arrays every time, because the length prefixes stop matching the strings.

The import fails on an unknown collation. A dump from a newer MariaDB carries a collation your destination does not know. Convert the dump before importing, and verify with a table count afterwards rather than trusting a quiet exit:

sed -i 's/utf8mb4_unicode_520_ci/utf8mb4_unicode_ci/g' kinsta-bulk.sql

When this is the wrong approach

Be honest about why you are leaving. If the reason is that the site is slow and nobody on the team wants to own performance, cPanel plus a cache plugin is a step down, not a step up. Kinsta was running the page cache, the edge, the object cache, the backups, and the PHP tuning. Move to an unmanaged cPanel account and all of that becomes a job, and it becomes your job. A site that felt fine on Kinsta can feel noticeably worse on cPanel purely because PHP is now executing on requests it used to skip.

If the reason is cost alone, price the replacement before you commit: the cache plugin, the CDN, the backup tooling, the monitoring, and the hours someone spends on all four. For a brochure site that trade usually works. For a store taking orders, with nobody assigned to those things, the platform fee was buying something real.

If the reason is control — a plugin Kinsta disallows, a PHP extension they do not offer, a cron schedule you need to own, or simply the need to sit next to other applications on the same account — the move is justified, and the layer map above is your scope of work.

Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.