Hosting Nepal
Hosting Nepal
BlogMigration
Migration
10 min read· October 31, 2026

Troubleshooting Common cPanel Migration Issues for Kathmandu SMBs

Facing issues after a cPanel migration? This guide helps Kathmandu SMBs troubleshoot common problems with WordPress migration, backup restoration, and DNS cutover.

H

Hosting Nepal Editorial

Editorial Team · Updated Oct 31, 2026
Troubleshooting Common cPanel Migration Issues for Kathmandu SMBs

Troubleshooting Common cPanel Migration Issues for Kathmandu SMBs

Experiencing glitches after your website migration? This guide is designed for Kathmandu's small and medium-sized businesses (SMBs) to help you overcome common hurdles encountered during cPanel migration, especially with WordPress sites. We'll cover troubleshooting backup restoration, database connection errors, and DNS cutover problems, ensuring your online presence in Nepal remains seamless.

Understanding the Migration Process

A website migration, particularly a cPanel to cPanel transfer, involves moving your entire website – files, databases, and emails – from one hosting environment to another. For a Kathmandu-based business, this often means moving from a local server or an older hosting plan to a more robust solution provided by companies like Hosting Nepal. The process typically includes creating a full backup, transferring the data, and updating the Domain Name System (DNS) records to point to the new server. A smooth migration is crucial for maintaining your website's accessibility and performance.

Key Facts:

* Backup is Crucial: Always ensure a complete and verified backup before initiating any migration. * Downtime: Plan for minimal downtime, ideally during off-peak hours for your Kathmandu audience. * DNS Propagation: Allow up to 48 hours for DNS changes to propagate globally. * Testing: Thoroughly test your website post-migration.

Common WordPress Migration Troubleshooting Steps

WordPress migration is a frequent task for businesses in Nepal looking to upgrade their hosting or switch providers. Despite using cPanel for a seemingly straightforward transfer, issues can arise. Here, we address the most common problems faced by SMBs in Kathmandu.

Database Connection Errors

One of the most frequent issues after a WordPress migration is the "Error establishing a database connection." This typically occurs when the database credentials in your wp-config.php file do not match the new database details on the target server.

Troubleshooting Steps:

1. Access wp-config.php: Use an FTP client or your hosting control panel's File Manager to access your website's root directory and locate the wp-config.php file. 2. Verify Database Credentials: Open wp-config.php and check the following lines: * DB_NAME: Ensure this matches the new database name. * DB_USER: Verify this is the correct database username. * DB_PASSWORD: Confirm the database password is accurate. * DB_HOST: This is usually localhost, but some hosts might use a different address. Check with your new hosting provider. 3. Update Credentials: If any of these details are incorrect, update them to match the new database information provided by your hosting provider. Hosting Nepal, for example, provides these details in your welcome email. 4. Save Changes: Save the wp-config.php file and re-upload it if you edited it via FTP. 5. Test: Refresh your website to see if the error is resolved.

After a successful migration, you might notice that some links are broken, or images are not displaying correctly. This often happens when the site URL or WordPress Address (URL) in the database hasn't been updated to reflect the new server environment, especially if you migrated to a temporary URL or are using a different domain structure.

Troubleshooting Steps:

1. Check WordPress Settings: Log in to your WordPress admin dashboard (if accessible). Go to Settings > General. Ensure that both the "WordPress Address (URL)" and "Site Address (URL)" fields contain the correct URL for your website on the new server. If you used a temporary URL, update it to your actual domain name. 2. Update wp-config.php (Alternative): If you cannot access your admin dashboard, you can define these URLs directly in your wp-config.php file. Add the following lines above the / That's all, stop editing! Happy publishing. / line: ``php define( 'WP_HOME', 'http://your-domain.com' ); define( 'WP_SITEURL', 'http://your-domain.com' ); ` Replace http://your-domain.com with your actual website URL. 3. Search and Replace in Database: If the issue persists, especially with internal links, you might need to perform a search and replace operation on your database to update old URLs. Tools like "Better Search Replace" plugin or WP-CLI can be used for this. Be cautious and always back up your database before performing such operations. 4. Clear Cache: Clear your browser cache and any caching plugins you might be using on WordPress.

Internal Server Errors (500 Error)

An Internal Server Error (HTTP 500) is a generic error indicating that something went wrong on the server, but the server couldn't be more specific about the exact problem. This can be caused by corrupted .htaccess files, plugin conflicts, or memory limit issues.

Troubleshooting Steps:

1. Check .htaccess File: Rename your .htaccess file in the WordPress root directory to .htaccess_old. Then, go to your WordPress admin dashboard, navigate to Settings > Permalinks, and click "Save Changes" without making any modifications. This will regenerate a fresh .htaccess file. If this resolves the issue, the old file was likely corrupted. 2. Disable Plugins: If the error persists, it might be due to a plugin conflict. Deactivate all your WordPress plugins by renaming the plugins folder in wp-content to something else (e.g., plugins_old) via FTP or File Manager. If the site loads, reactivate plugins one by one to identify the culprit. 3. Increase PHP Memory Limit: Sometimes, the error is due to insufficient memory allocated to PHP. You can increase the memory limit by editing your wp-config.php file and adding this line: `php define( 'WP_MEMORY_LIMIT', '256M' ); ` Alternatively, you can try increasing it via your hosting control panel or by editing the php.ini file. 4. Check Server Logs: For more specific details, check your server's error logs. Your hosting provider can usually help you access these logs.

Troubleshooting Backup and Restore Issues

Restoring a backup is a critical part of the migration process. Issues here can range from incomplete backups to corrupted files, preventing your site from coming back online.

Incomplete Backup Restoration

If your website appears incomplete after restoring a backup – missing pages, posts, or media – the backup itself might have been incomplete or corrupted during the transfer.

Troubleshooting Steps:

1. Verify Backup Integrity: Before restoring, ensure your backup file (e.g., a .tar.gz or .zip archive) is complete and has a reasonable file size. If you downloaded it from your old host, ensure the download completed without errors. 2. Check File Permissions: After uploading files to the new server, ensure correct file permissions are set. WordPress typically requires 755 for directories and 644 for files. 3. Re-upload and Restore: If you suspect corruption, download a fresh backup from your old host (if still accessible) or request one from your previous provider. Then, re-upload and attempt the restore process again. 4. Use Hosting Migration Services: Many hosting providers, including Hosting Nepal, offer free or paid website migration services. If you're struggling with backup restoration, consider using this service to ensure a professional and complete transfer.

Database Import Errors

When restoring a database backup (often a .sql file), you might encounter errors during the import process. This can be due to file size limits imposed by the hosting control panel or syntax errors in the SQL file.

Troubleshooting Steps:

1. Check File Size Limits: phpMyAdmin, often used for database imports, has upload size limits. If your .sql file is large (e.g., over 50MB), you'll need an alternative method. 2. Use SSH for Import: If your new hosting plan allows SSH access, importing via the command line is generally more reliable for large databases. The command would look something like: `bash mysql -u your_db_user -p your_db_name < /path/to/your/backup.sql ` You will be prompted for your database password. 3. Split the SQL File: If SSH is not an option, you can use tools to split your large .sql file into smaller chunks and import them sequentially. 4. Contact Support: If you continue to face database import issues, reach out to your hosting provider's support team. They can often assist with large database imports.

DNS Cutover Troubleshooting

The DNS cutover is the final step where you update your domain's nameservers to point to your new hosting provider. This can sometimes lead to temporary website unavailability or other domain-related issues.

Website Not Loading After DNS Update

After updating your nameservers at your domain registrar (e.g., the registry for .np domains or international registrars for .com.np), it can take time for these changes to propagate across the internet. This is known as DNS propagation.

Troubleshooting Steps:

1. Patience is Key: DNS propagation can take anywhere from a few minutes to 48 hours, though it's often much faster. Avoid making further changes during this period. 2. Check DNS Propagation: Use online tools like "DNS Checker" (dnschecker.org) to see how your domain's DNS records are propagating worldwide. Enter your domain name and select "NS" (nameserver) or "A" (address) record to check the status. 3. Verify Nameservers: Double-check that you have entered the correct nameservers provided by your new hosting provider (e.g., ns1.hostingnepal.com, ns2.hostingnepal.com) at your domain registrar. Incorrect nameservers are a common cause of this issue. 4. Clear Local DNS Cache: Sometimes, your computer or local network might be caching old DNS information. You can clear your local DNS cache. On Windows, open Command Prompt as administrator and type ipconfig /flushdns. On macOS, use sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` in Terminal. 5. Check A Record: Ensure your domain's A record is pointing to the correct IP address of your new server. This is often managed by your hosting provider if you are using their nameservers.

Email Not Working Post-Migration

If your website migration was successful but your business email is experiencing issues (e.g., emails not sending or receiving), it's often related to DNS records, specifically MX (Mail Exchanger) records.

Troubleshooting Steps:

1. Verify MX Records: Check your domain's MX records at your DNS provider (usually your domain registrar or hosting provider if they manage DNS). Ensure they are pointing to your mail server. If you are using a third-party email service like Google Workspace, ensure the MX records are configured as per their instructions. 2. Check Mail Server Settings: If you are hosting email with your web hosting provider, ensure the mail server on the new hosting account is properly configured and running. Check your email client settings (e.g., Outlook, Thunderbird) for correct incoming and outgoing server names, ports, and authentication. 3. Allow Time for Propagation: Like A records, MX records also need time to propagate. If you recently updated them, wait for the propagation to complete.

Conclusion: Smooth Sailing with Hosting Nepal

Website migration can seem daunting, especially for a first-time website owner in Kathmandu. By understanding these common troubleshooting steps for cPanel migration, backup restoration, and DNS cutover, you can resolve most issues effectively. Remember that a reliable hosting partner is key. Hosting Nepal provides robust infrastructure and expert support to ensure your WordPress migration and ongoing website operations are smooth and efficient. Don't hesitate to leverage their expertise for a seamless transition and a high-performing website for your business.

Tags
cpanel
website migration
wordpress migration
dns
troubleshooting
nepal smb
hosting
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

Understanding the Migration Process

Key Facts:

Common WordPress Migration Troubleshooting Steps

Database Connection Errors

Broken Links and Missing Images

Internal Server Errors (500 Error)

Troubleshooting Backup and Restore Issues

Incomplete Backup Restoration

Database Import Errors

DNS Cutover Troubleshooting

Website Not Loading After DNS Update

Email Not Working Post-Migration

Conclusion: Smooth Sailing with Hosting Nepal

Share
Hosting Nepal
Hosting Nepal

2026 © Marketminds Investment Group. All rights reserved.

Troubleshoot cPanel Migration Issues: Kathmandu SMB Guide