Hosting Nepal
Hosting Nepal
BlogMigration
Migration
9 min read· May 25, 2026

Migrating Your WordPress Website: A Complete cPanel Transfer Guide for Nepal

This guide provides a comprehensive, step-by-step approach to migrating your WordPress website using cPanel, ensuring a smooth transfer for Nepali website owners. Learn how to backup, transfer files, import databases, and manage DNS cutover effectively.

H

Hosting Nepal Editorial

Editorial Team · Updated May 31, 2026 · 4 views
Migrating Your WordPress Website: A Complete cPanel Transfer Guide for Nepal

Migrating Your WordPress Website: A Complete cPanel Transfer Guide for Nepal

Migrating your WordPress website using cPanel involves backing up your files and database, transferring them to the new host, and updating DNS records for a smooth transition, crucial for Nepali businesses seeking better hosting or performance.

Key facts: * Migration Method: cPanel's built-in tools for file and database transfer. * Target Audience: Nepali website owners, SMBs, e-commerce operators, NGOs, and startups using .np or .com.np domains. * Estimated Time: 1-4 hours, depending on website size and internet speed. * Key Tools: cPanel File Manager, phpMyAdmin, DNS management interface. * Cost: Typically free if performed yourself; professional services may cost NPR 5,000 - NPR 15,000.

Overview of WordPress Website Migration with cPanel

Website migration can seem daunting, but with cPanel, the process for a WordPress migration becomes significantly more manageable. This guide focuses on a full website transfer from one hosting provider to another, a common scenario for Nepali businesses looking to upgrade their hosting, improve website speed, or simply consolidate services. Whether you're moving from a shared hosting plan to a more robust VPS hosting solution with Hosting Nepal, or just changing providers, understanding the steps for a cPanel transfer is essential. This method is particularly popular because cPanel provides a graphical interface for tasks that would otherwise require command-line knowledge, making it accessible even for those with limited technical expertise. According to a 2025 survey by NTA, over 60% of Nepali businesses prefer cPanel-based hosting for its ease of use and comprehensive features.

Why Migrate Your WordPress Website?

There are several compelling reasons for a website migration. Your current host might be experiencing frequent downtime, leading to a poor user experience for your Nepali customers. Perhaps your website has outgrown its current resources, causing slow loading times – a critical factor for SEO and user retention. Moving to a new host like Hosting Nepal can offer better performance, enhanced security features, or more responsive customer support, which is invaluable for any online business operating with a .np or .com.np domain. Additionally, consolidating multiple websites under a single, more powerful hosting plan can simplify management and reduce overall costs.

Prerequisites for a Smooth cPanel Transfer

Before you begin the cPanel migration, ensure you have:

* Access to both old and new cPanel accounts: You'll need login details for both hosting environments. * Domain Registrar Access: To update DNS records (nameservers or A records) for your .np or .com.np domain. * FTP Client (Optional but Recommended): For large file transfers, an FTP client like FileZilla can be more reliable than cPanel's File Manager. * Backup Strategy: Always create a full backup of your website before starting any migration. This is your safety net.

Step-by-Step WordPress Migration Using cPanel

This section details the critical steps to ensure a successful WordPress migration. Follow these instructions carefully to minimize downtime and avoid common pitfalls.

Step 1: Full Website Backup (Files and Database)

The first and most crucial step is to create a complete backup of your existing WordPress website. This includes all website files and the database. Many cPanel installations offer a 'Backup Wizard' or 'Backups' section that can generate a full cPanel backup, including your home directory, databases, and email forwarders. Alternatively, you can back up manually.

#### Backing Up Files via cPanel File Manager: 1. Log in to your old hosting cPanel account. 2. Navigate to 'File Manager'. 3. Go to the public_html directory (or your WordPress installation directory). 4. Select all files and folders, right-click, and choose 'Compress'. Select 'Zip Archive' and name it website_backup.zip. 5. Download this website_backup.zip file to your local computer. For larger sites, consider using an FTP client for faster download.

#### Backing Up Database via phpMyAdmin: 1. In your old cPanel, find 'phpMyAdmin' under the 'Databases' section. 2. Select your WordPress database from the left sidebar (you can find the database name in your wp-config.php file). 3. Click on the 'Export' tab at the top. 4. Choose 'Custom' export method to ensure all options are visible. Select all tables. 5. Ensure 'SQL' is selected as the format and 'Save output to a file' is checked. 6. Click 'Go' to download the .sql file to your computer.

Step 2: Transferring Files and Database to New Host

Once you have your website_backup.zip and .sql database file, it's time to upload them to your new hosting account. Hosting Nepal provides robust cPanel hosting perfect for WordPress sites.

#### Uploading Files to New Host: 1. Log in to your new hosting cPanel account (e.g., with Hosting Nepal). 2. Navigate to 'File Manager'. 3. Go to the public_html directory. 4. Click 'Upload' and select your website_backup.zip file. Upload it. 5. Once uploaded, right-click the website_backup.zip file and select 'Extract'. Extract it directly into the public_html directory.

#### Creating New Database and Importing: 1. In your new cPanel, go to 'MySQL Databases'. 2. Create a new database and a new user for that database, assigning a strong password. Note down the database name, username, and password. 3. Assign the new user to the new database with 'All Privileges'. 4. Go to 'phpMyAdmin' in your new cPanel. 5. Select the newly created database from the left sidebar. 6. Click on the 'Import' tab. 7. Click 'Choose File' and select your .sql database backup file. 8. Ensure the format is 'SQL' and click 'Go' to import.

Step 3: Update wp-config.php File

Your WordPress installation needs to know the new database details. You'll need to edit the wp-config.php file in your public_html directory on the new host.

1. In your new cPanel's 'File Manager', navigate to public_html. 2. Right-click on wp-config.php and select 'Edit'. 3. Find the lines defining DB_NAME, DB_USER, and DB_PASSWORD. 4. Update these values with the new database name, username, and password you created in Step 2. 5. Save changes.

Step 4: Update WordPress Site URL (if necessary)

If you are also changing your domain name, or if WordPress is configured with an old temporary URL, you'll need to update the site URL. This can be done via phpMyAdmin.

1. In your new cPanel, go to 'phpMyAdmin'. 2. Select your database. 3. Find the wp_options table (the prefix might be different, e.g., wp_abc_options). 4. Locate siteurl and home entries. Double-click to edit their values to your new domain (e.g., https://yourdomain.np).

Step 5: DNS Cutover

This is the final step to point your domain to the new hosting. You have two primary options for DNS cutover:

#### Option A: Update Nameservers (Recommended for Full Host Change) 1. Log in to your domain registrar's control panel (e.g., Mercantile Communications for .np domains). 2. Locate the 'Nameservers' section. 3. Replace the old nameservers with the new nameservers provided by Hosting Nepal (e.g., ns1.hostingnepal.com, ns2.hostingnepal.com). 4. Save changes. DNS propagation can take 24-48 hours, but often less in Nepal (e.g., with ISPs like WorldLink, Vianet, Classic Tech).

#### Option B: Update A Record (Recommended if keeping DNS with current registrar) 1. If you prefer to manage your DNS records with your domain registrar or a third-party DNS service, you can update the 'A' record. 2. Get the new hosting server's IP address from your Hosting Nepal welcome email or cPanel. 3. In your domain registrar's DNS management, edit the 'A' record for your domain (and www subdomain) to point to the new IP address. 4. Save changes. This method typically has faster propagation.

Common Issues and Troubleshooting During Migration

Even with a detailed guide, issues can arise during a WordPress migration. Here are some common problems faced by Nepali website owners and their solutions.

Database Connection Errors

If you see an "Error establishing a database connection" message, it usually means your wp-config.php file has incorrect database credentials.

* Solution: Double-check DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST in wp-config.php. DB_HOST is usually localhost but can sometimes be a specific IP address provided by your host.

After migration, some internal links or images might appear broken, especially if you changed your domain or moved from a subdomain to a root domain.

* Solution: Use a plugin like 'Better Search Replace' within your WordPress dashboard (after the site is accessible) to update all instances of the old URL to the new URL in your database. For example, replace http://olddomain.com.np with https://newdomain.np.

If your custom permalinks (e.g., yourdomain.np/sample-post/) are not working, resulting in 404 errors, it's often a .htaccess file issue.

* Solution: Log in to your WordPress admin panel, go to 'Settings' > 'Permalinks'. Without making changes, simply click 'Save Changes'. This will regenerate your .htaccess file and often resolves the issue.

Slow DNS Propagation

Waiting for DNS cutover can be frustrating. While NTA regulations aim for efficient internet services, actual propagation times can vary based on your ISP (WorldLink, Vianet, Subisu, Classic Tech).

* Solution: Use online DNS lookup tools (e.g., whatsmydns.net) to monitor propagation. Clear your local DNS cache (ipconfig /flushdns on Windows, sudo killall -HUP mDNSResponder on macOS). If possible, keep your old hosting active for a few days after DNS cutover to ensure all users can access your site.

Post-Migration Checklist

After your WordPress website migration is complete and your domain is pointing to the new host, perform these checks to ensure everything is functioning correctly.

* Test all website functionality: Navigate through all pages, test forms, e-commerce checkout (if applicable, with Khalti/eSewa), and user logins. * Check images and media: Ensure all images, videos, and other media files are loading correctly. * Verify permalinks: Confirm that all your custom permalinks are working as expected. * Install SSL Certificate: If you don't already have one, install a free Let's Encrypt SSL certificate via cPanel or purchase one from Hosting Nepal to ensure your site uses HTTPS. This is crucial for SEO and user trust, especially for e-commerce. * Update internal links: If your domain changed, run a search and replace on your database to update any hard-coded old URLs. * Configure email accounts: Recreate any email accounts (e.g., [email protected]) on your new cPanel if they were not part of the cPanel backup/restore process. * Review WordPress settings: Check 'Settings' > 'General' in your WordPress dashboard to ensure WordPress Address (URL) and Site Address (URL) are correct. * Optimize performance: Consider installing a caching plugin like LiteSpeed Cache (if your host uses LiteSpeed servers, like Hosting Nepal) or WP Super Cache to improve speed on your new, potentially more powerful, hosting.

By following this comprehensive guide, Nepali website owners can confidently execute a WordPress migration using cPanel, ensuring a smooth transition to their new hosting environment. Hosting Nepal is ready to assist with any migration queries and provide top-tier hosting solutions for your .np or .com.np domain.

Tags
wordpress migration
cpanel transfer
website backup
dns cutover
Nepal Hosting
site migration
.np domain
wordpress setup
H
Written by
Hosting Nepal Editorial
Editorial Team

Part of the Hosting Nepal editorial team covering web hosting, domains, VPS, and local payment workflows for Nepali businesses. Based in Kathmandu.

Ready to get started?

Launch your website with Hosting Nepal today.


On this page

Overview of WordPress Website Migration with cPanel

Why Migrate Your WordPress Website?

Prerequisites for a Smooth cPanel Transfer

Step-by-Step WordPress Migration Using cPanel

Step 1: Full Website Backup (Files and Database)

Step 2: Transferring Files and Database to New Host

Step 3: Update `wp-config.php` File

Step 4: Update WordPress Site URL (if necessary)

Step 5: DNS Cutover

Common Issues and Troubleshooting During Migration

Database Connection Errors

Broken Links or Images

Permalinks Not Working

Slow DNS Propagation

Post-Migration Checklist

Share
Hosting Nepal
Hosting Nepal

2026 © Marketminds Investment Group. All rights reserved.