You have a WordPress site on GoDaddy Managed WordPress and want it on a cPanel server you control, and the good news is that the files and database are standard WordPress and travel fine. The platform wrapped around them stays behind, meaning the page cache, the CDN (the network of edge servers that delivers your static files), the mail handling, the redirects, and the helper code GoDaddy injects into your install. The export path depends on your account’s era and plan, which may give you SSH with WP-CLI (command-line access plus the WordPress command-line tool), a migration plugin, or phpMyAdmin and SFTP (a web database tool plus secure file transfer). Find out which path you have, pull a verified copy, rebuild the platform layer on cPanel, test on the real hostname, then move DNS; if you are leaving WP Engine instead, that source has its own runbook.
What you’ll accomplish
- A definite answer to which of the three export paths your account supports.
- A consistent database dump and a complete
wp-contentcopy, both verified rather than assumed. - A named cPanel replacement for every feature GoDaddy was quietly providing: page cache, object cache, CDN, redirects, outbound mail, TLS.
- The site working on cPanel and tested on the real hostname before a single DNS record changes.
- A cutover with a short write freeze and a rollback that stays cheap for a window you define.
Prerequisites
On the destination: a cPanel account with SSH enabled, MySQL, and control of the PHP version. On the source: administrator access to WordPress and the GoDaddy dashboard. WP-CLI on both ends saves hours; most cPanel hosts ship it as wp, and whether GoDaddy gives it to you is what step 1 answers.
Three things to establish while the site is still live.
PHP version and extensions. A site on PHP 8.2 dropped onto an account defaulting to 7.4 fails in ways that look like file corruption. Extensions matter as much: imagick, intl, sodium, and bcmath are common on managed platforms and often absent from a fresh cPanel account.
Database size, table by table. This decides whether phpMyAdmin is usable or a trap, and how long the freeze must be.
Plugins GoDaddy blocks. Their platform disallows certain caching and backup plugins, so an installed one has never actually run in production. On cPanel it will. A plugin inventory before the migration catches this.
Then lower the DNS TTL on the A and AAAA records to 300 seconds, at least 24 hours ahead. That one step turns a bad cutover from a multi-hour problem into a five-minute one.
How it works
GoDaddy Managed WordPress is a platform wrapped around a WordPress install, not a server you rent. Everything you can export is the WordPress part. The wrapper — page cache, CDN, injected must-use plugins, object cache drop-in, dashboard redirects, mail handling, certificate — is missing from the export because it was never inside it. The diagram maps each asset to its cPanel destination and flags those with no equivalent.
The must-use plugins. GoDaddy loads its own code into wp-content/mu-plugins/ from the platform side, defining helpers and constants that theme or plugin code sometimes calls. On cPanel those calls resolve to nothing, and an undefined function is a fatal error, not a graceful degradation. Find the call sites before cutover — they usually live on one template, so a working homepage proves nothing.
The object cache drop-in. A wp-content/object-cache.php pointed at infrastructure GoDaddy runs is worse than useless on cPanel: it reaches for a backend that does not exist. Delete it, then ask separately whether the destination has Redis at all.
Outbound mail. On GoDaddy, wp_mail() left through their platform. On cPanel it hands off to the local Exim MTA on a shared IP — a materially worse sender reputation, so password resets quietly start landing in spam.
Step-by-step
Everything up to step 9 is rehearsal you can repeat as often as you like. Step 10 onward is live.
-
Find out which path your account gives you. Try the SSH credentials shown in the dashboard, and if they connect:
wp --info ls -la wp-content/mu-plugins/Output naming a PHP version and a WP-CLI version puts you on path A. If SSH is refused, try installing a migration plugin from the dashboard — if it runs, that is path B. If neither works you are on path C: phpMyAdmin for the database, SFTP for the files. Slower, and it needs a longer freeze, but it is always available.
-
Take the inventory while you still can. On path A:
wp db size --tables --size_format=mb wp plugin list --status=active --fields=name,version,update wp eval 'echo PHP_VERSION, PHP_EOL;' wp core verify-checksumsYou want a per-table size list, an exact plugin roster, the PHP version to match, and a clean checksum run — anything flagged means core was modified. On paths B and C read the same from the plugins screen, Site Health, and phpMyAdmin.
-
Export the database, consistently.
--single-transactionsnapshots InnoDB and nothing else, so check the engines before trusting any dump.wp db query "SELECT table_name, engine FROM information_schema.tables WHERE table_schema = DATABASE();"Every row should say
InnoDB; anyMyISAMrow means dumping during the freeze rather than before it. Then, on path A:wp db export gd-dump.sql --single-transaction --default-character-set=utf8mb4 --add-drop-tableWP-CLI prints
Success: Exported to 'gd-dump.sql'.Do not stop there:grep -c '^CREATE TABLE' gd-dump.sql tail -3 gd-dump.sqlThe count must match step 2, and the tail must end on a completed statement and a dump-completed comment. A truncated dump imports without complaint and silently loses the tail of your largest table. On path C use phpMyAdmin’s Export screen in Custom mode: SQL, “Add DROP TABLE”, gzip,
utf8mb4. Path B builds the archive through the plugin — check its size against step 2. -
Copy
wp-contentin full. On path A, taking host and path from the dashboard rather than assuming them — the document root differs across account eras:rsync -avz --exclude 'cache' USER@HOST:PATH/wp-content/ ./wp-content/rsyncends with a transferred-bytes summary. On path C, mirror over SFTP:lftp -u USER sftp://HOST -e 'mirror --verbose --parallel=4 PATH/wp-content ./wp-content; bye'Either way, check what arrived:
find ./wp-content -type f | wc -l du -sh ./wp-contentThe size should be within a few percent of the dashboard figure. Much smaller means the transfer stopped early — SFTP mirrors fail quietly on permission-denied directories.
-
Strip the platform layer out of the copy. Look first, delete second:
ls -la wp-content/mu-plugins/ grep -rn 'gd_system\|gd-system\|godaddy' wp-content/themes/ wp-content/plugins/ | grep -v vendor/Delete only what the listing actually showed, then confirm:
rm -rf wp-content/mu-plugins/gd-system-plugin wp-content/mu-plugins/gd-system-plugin.php rm -f wp-content/object-cache.php wp-content/advanced-cache.php ls wp-content/mu-plugins/The
lsshould now show only must-use plugins you put there yourself, and thegrepshould return nothing — every line it returns will fatal once the helpers are gone. -
Build the destination. Create the cPanel account, set the PHP version in MultiPHP Manager to match step 2 before uploading anything, then create the database and user in the MySQL Database Wizard. Check parity:
php -v php -m mysql -u DBUSER -p -e 'SHOW DATABASES;'php -vmust report the same major and minor version as the source, andphp -mmust list every extension it used — missingimagickgives broken thumbnails, missingintlbreaks some plugins outright. Add the gaps in EasyApache 4.SHOW DATABASESmust list the new database. -
Import the database. Work from the shell inside
screenortmuxso a dropped connection cannot abort it halfway; phpMyAdmin gives up long before most production dumps finish.mysql --max-allowed-packet=512M --default-character-set=utf8mb4 -u DBUSER -p DBNAME < gd-dump.sqlSuccess is silence —
mysqlprints nothing on a clean import. Verify with a count rather than trusting that:mysql -u DBUSER -p -e 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema="DBNAME";'The number must equal the
CREATE TABLEcount from step 3. -
Write a fresh
wp-config.php. Do not reuse the source file. Generate one and copy your own constants across by hand:wp config create --dbname=DBNAME --dbuser=DBUSER --dbpass=DBPASS --dbhost=localhost --skip-check wp config shuffle-salts wp config set WP_CACHE false --raw grep -c 'GD_\|godaddy' wp-config.phpwp config createreportsSuccess: Generated 'wp-config.php' file.and thegrep -cmust print0. A surviving GoDaddy constant means you copied rather than rewrote. -
Run search-replace, dry run first. The site was served from a temporary platform hostname — typically under
myftpupload.comorsecureserver.net— baked into the database alongside any CDN hostname. Never do this with a SQLREPLACE(): WordPress stores serialized arrays with byte-length prefixes, and a raw swap of different length corrupts every one, as the serialization problem explains.wp search-replace 'OLDHOST' 'example.com' --all-tables --dry-run --report-changed-onlyThe dry run prints per-table counts and a
Success: N replacements to be madeline. Read them, then run it:wp search-replace 'OLDHOST' 'example.com' --all-tables --precise wp option get siteurl && wp option get homeRepeat for any CDN hostname, and for
http://tohttps://if the old site was mixed. Both options must print the final domain. The WP-CLI search-replace reference documents every flag. -
Fix ownership and permissions. Files extracted by root through WHM stay owned by root, and PHP running as the account user cannot write to them — media uploads then fail with no useful error.
find ~/public_html -type d -exec chmod 755 {} \; find ~/public_html -type f -exec chmod 644 {} \; chmod 640 ~/public_html/wp-config.php stat -c '%a %U %n' ~/public_html ~/public_html/wp-config.phpstatmust print755and the cPanel account username for the directory,640and the same owner for the config. If either showsroot, ask your host tochownthe tree to the account. -
Replace the caching, mail, and redirect layers. Install a page cache — LiteSpeed Cache on a LiteSpeed host, a PHP-level cache plugin plus a CDN on Apache. Check whether an object cache is possible before planning around one:
redis-cli pingPONGmeans Redis is local and the Redis Object Cache plugin has something to talk to. Connection refused means the layer goes away — survivable for a content site, painful for a store. Then settle mail:dig +short MX example.comIf that returns an external provider, set the domain to Remote Mail Exchanger in cPanel’s Email Routing screen, or cPanel treats itself as the mail server and swallows inbound mail after cutover. Route outbound mail through SMTP; WP Mail SMTP setup covers it. Then rebuild every dashboard redirect as
.htaccessrules — none are in your export. -
Test on the real hostname without touching DNS.
curl -skI --resolve example.com:443:203.0.113.10 https://example.com/You want an
HTTP/2 200from the cPanel IP. The-kis there because the certificate will not match the name yet; step 14 fixes that. Then walk the site in a browser through the same override: admin login, checkout, contact form, sitemap, every custom post type. -
Freeze writes, sync the delta, then move DNS. Put the GoDaddy site into maintenance mode so no orders, comments, or posts land there. Re-export the database, re-import, re-run search-replace, and pull anything added to
wp-content/uploads/since the first copy. Only then change the A record. During propagation both hosts answer, which is why the freeze exists — the timeline shows where it sits. -
Run AutoSSL once the domain resolves at cPanel. AutoSSL validates over HTTP against the live domain, so it cannot issue before DNS points here. Open SSL/TLS Status, select every domain and subdomain, and run it.
uapi SSL installed_hostsEvery hostname the site serves — apex,
www, any subdomain — must appear. A certificate coveringexample.combut notwww.example.comwarns a large share of your traffic. cPanel’s documentation portal covers alternate providers if the default refuses a name.
Validate it works
Once DNS settles, on the cPanel side:
wp option get siteurl && wp option get home
wp core verify-checksums
wp db check
wp cron event list --fields=hook,next_run_relative | head -20
Neither URL may contain the old platform hostname, verify-checksums should report success, wp db check should print OK for every table, and the cron list should show sane next-run times. WP-Cron fires on traffic, so if the source ran a system cron and cPanel does not, scheduled publishing stops silently — add a cron entry and set DISABLE_WP_CRON to true.
Then the outside view:
curl -sI https://example.com/ | head -20
dig +short example.com @1.1.1.1
Look for a 200, a cache header, a valid certificate, and the cPanel IP from a public resolver. Then test mail properly — a password reset, a contact form, an order confirmation — and confirm each lands in an inbox rather than a spam folder.
Troubleshooting
Fatal error naming an undefined GoDaddy function. Theme or plugin code called something the platform must-use plugins defined. The grep in step 5 finds every call site; reimplement the behaviour or delete the call, and test the page that failed rather than the homepage.
The import stops with an unknown collation error. GoDaddy may run MySQL 8 while your cPanel server runs MariaDB, whose collation list does not include MySQL 8’s default. Rewrite it before importing:
sed -i 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' gd-dump.sql
Accented characters render as mojibake. Dump and target database disagree on character set — older GoDaddy accounts use utf8, newer ones utf8mb4. Drop the database, recreate it to match the dump’s own CREATE TABLE statements, and import again with the matching --default-character-set.
Mail stops arriving at the domain after cutover. cPanel added the domain as a local mail exchanger and is delivering to a mailbox on the server instead of your provider. Set Remote Mail Exchanger in Email Routing. It is the most common post-cutover incident and invisible from the website.
When this is the wrong approach
If the only reason to leave is the bill, understand what you are taking on. GoDaddy was running the page cache, the CDN, the object cache, and the platform updates; on cPanel those become your job, and the operational time usually costs more than the difference. Move for control — a plugin they disallow, an extension they lack, a cron schedule you need to own.
If the site takes writes continuously — an active store, a busy forum — a freeze long enough for a path C migration may be unacceptable. Schedule it in your quietest hour and accept a real window, or have someone run the cutover who can shorten it with a staged sync.
And if you cannot get a consistent dump at all — no SSH, a database too large for phpMyAdmin to finish, a plugin that will not complete — get help rather than shipping a partial dump. A migration that loses the tail of wp_postmeta looks fine for about a week.
Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.