How to Migrate a WordPress Website to cPanel Print

  • 0

🌐 How to Migrate a WordPress Website to cPanel

If you’re moving your WordPress website to TK Internet Marketing hosting, this step-by-step guide will help you migrate your site quickly and safely using cPanel.
This process includes transferring your website files, database, and verifying your domain setup.

🧠 Before You Begin

Make sure you have:

  • Access to your current hosting account or WordPress files

  • Access to your new cPanel account (through TK Internet Marketing)

  • Your domain login (if DNS updates are needed)

  • A recent backup of your site

💡 If you’re not comfortable performing these steps, TK Internet Marketing can handle the migration for you — just open a ticket under Website Support.

🧩 Step 1: Back Up Your Existing WordPress Site

Option A: Use a Plugin

  1. Install and activate a migration plugin such as:

    • All-in-One WP Migration

    • Duplicator

    • UpdraftPlus

  2. Create a full backup/export file.

  3. Download the backup file to your computer.

Option B: Manual Backup (Advanced)

  1. Log in to your old hosting’s cPanel or file manager.

  2. Download all website files from the /public_html (or WordPress install folder).

  3. Export your database using phpMyAdmin → Export → SQL format.

🖥️ Step 2: Log In to Your New cPanel Account

  1. Go to your TK Internet Marketing Client Area:
    https://clients.tkinternetmarketing.com/clientarea.php

  2. Select Services → My Services → View Details on your hosting plan.

  3. Click Login to cPanel.

📂 Step 3: Upload Your WordPress Files

  1. In cPanel, open File Manager → navigate to the /public_html/ directory.

  2. Click Upload and select your WordPress backup file or zipped folder.

  3. Once uploaded, right-click the file and choose Extract.

  4. Ensure the extracted files (wp-admin, wp-content, wp-includes) are in /public_html/.

⚠️ Make sure there are no duplicate nested folders (like /public_html/wordpress/wordpress/).

🧮 Step 4: Import Your Database

  1. In cPanel, go to Databases → MySQL® Databases.

  2. Create a new database (e.g., yourname_wp).

  3. Create a new user and assign it to the database with All Privileges.

  4. Go to phpMyAdmin, select your new database, and click Import.

  5. Upload your .sql file (from your old site backup).

  6. Wait until the import completes successfully.

⚙️ Step 5: Update wp-config.php

  1. In File Manager, locate and open wp-config.php.

  2. Update these lines with your new database credentials:

    define('DB_NAME', 'yourname_wp');
    define('DB_USER', 'yourname_user');
    define('DB_PASSWORD', 'yourpassword');
    define('DB_HOST', 'localhost');
    
  3. Save and close the file.

🌎 Step 6: Point Your Domain to the New Server

  1. Log in to your domain registrar (where your domain is registered).

  2. Update your nameservers to:

    ns1.tkinternetmarketing.com
    ns2.tkinternetmarketing.com
    

    (Confirm your exact nameservers in your hosting welcome email or Client Area.)

  3. Save changes and allow DNS propagation (can take up to 24–48 hours).

✅ Step 7: Test Your Website

After propagation:

  • Visit your domain using https://yourdomain.com

  • Verify that your website loads correctly

  • Check internal links, forms, and images

  • Log in to your WordPress admin area (/wp-admin) to confirm everything works

💡 If the site doesn’t load or redirects incorrectly, check your .htaccess file and site URL settings in the WordPress dashboard (Settings → General).

🧾 Step 8: Reinstall SSL (If Needed)

If your site shows a “Not Secure” warning:

  1. Log in to cPanel → SSL/TLS Status.

  2. Click Run AutoSSL.

  3. Wait for the padlock icon to appear next to your domain.

💬 Need Help?

If you’d like TK Internet Marketing to migrate your website for you, open a ticket under Website Support at https://clients.tkinternetmarketing.com/clientarea.php or email support@tkinternetmarketing.com.


We can migrate your WordPress site, verify DNS, and test SSL for you — typically within 24 hours.


Was this answer helpful?

« Back