Quick Answer: To migrate from cPanel to CloudPanel: 1) Create a new WordPress Site in CloudPanel dashboard, 2) Export your cPanel files (public_html) and MySQL database dump, 3) Transfer and extract files to /home/site-user/htdocs/yourdomain.com/, 4) Import the database into CloudPanel MySQL, 5) Update wp-config.php credentials, and 6) Issue a free Let’s Encrypt SSL certificate in CloudPanel.
Why Developers Are Migrating from cPanel to CloudPanel
While cPanel is the undisputed standard for shared hosting management, CloudPanel is an ultra-lightweight control panel built specifically for cloud PHP and Node.js hosting on Nginx. Migrating to CloudPanel eliminates Apache overhead, unlocking sub-100ms TTFB with minimal RAM footprint.
Step 1: Create the Site in CloudPanel Dashboard
- Log in to your CloudPanel admin dashboard (
https://server-ip:8443). - Click + Add Site and choose Create a WordPress Site (or PHP Site).
- Enter your Domain Name, Site User, and Site Password.
- CloudPanel will automatically provision an optimized Nginx vhost, PHP-FPM pool, and MySQL database.
Step 2: Transfer Files from cPanel to CloudPanel
Compress your cPanel files and stream them to your CloudPanel server directory:
# On cPanel server: cd /home/cpaneluser/public_html tar -czf site_files.tar.gz * # Stream to CloudPanel server: scp site_files.tar.gz root@cloudpanel-ip:/home/site-user/htdocs/yourdomain.com/ # On CloudPanel server: cd /home/site-user/htdocs/yourdomain.com/ tar -xzf site_files.tar.gz && rm site_files.tar.gz clpctl system:permissions:reset --siteName=yourdomain.com
Step 3: Export & Import Database
# Import cPanel database dump into CloudPanel database mysql -u cloudpanel_dbuser -p'Pass' cloudpanel_dbname < cpanel_db_backup.sql
Step 4: Update wp-config.php and Issue SSL
Update wp-config.php with the database credentials generated by CloudPanel. In CloudPanel dashboard, go to SSL/TLS, select Let’s Encrypt, and click Install Certificate.
🔗 Recommended Related Technical Guides:
Configuring FastCGI Caching on CloudPanel Nginx VirtualHosts
CloudPanel features native Nginx FastCGI microcaching that serves cached dynamic HTML pages directly from server memory in under 15 milliseconds. After migrating your WordPress site, enable FastCGI cache in the CloudPanel dashboard under Site Settings > Performance.
Setting Up Automated Redis Object Caching in CloudPanel
CloudPanel includes a pre-installed Redis server. Connect WordPress to Redis by installing the free Redis Object Cache plugin and adding these constants to wp-config.php:
define('WP_REDIS_HOST', '127.0.0.1');
define('WP_REDIS_PORT', 6379);
define('WP_REDIS_TIMEOUT', 1);
define('WP_REDIS_READ_TIMEOUT', 1);
Step-by-Step Migration Guide: cPanel to CloudPanel Nginx
- Provision CloudPanel Instance: Deploy an Ubuntu 24.04 LTS VPS and install CloudPanel via its official installer script.
- Create Target WordPress VHost: In CloudPanel dashboard, click + Add Site > WordPress Site. Save the generated DB credentials.
- Export cPanel Web Files: In cPanel File Manager, compress
public_htmlintosite_files.tar.gz. - Export cPanel Database: Export your database via phpMyAdmin or
mysqldump. - SCP Transfer: Stream both files to CloudPanel server directory
/home/site-user/htdocs/yourdomain.com/. - Extract and Reset Permissions: Run
tar -xzf site_files.tar.gzand reset permissions viaclpctl system:permissions:reset --siteName=yourdomain.com. - Import Database: Import the SQL dump into your CloudPanel database via terminal or CloudPanel phpMyAdmin.
- Update wp-config.php & Cutover DNS: Enter the new database credentials and point your domain DNS A record to the CloudPanel server IP.
Optimizing PHP 8.3 OPcache and Nginx Worker Limits in CloudPanel
Under CloudPanel Settings > PHP Settings, allocate 256MB to memory_limit and enable FastCGI Cache with a 7-day cache TTL to achieve sub-20ms page response times.
Enjoy Fast Hosting with Ease on CpanelFree
Enjoy intuitive cPanel tools with NVMe SSD performance and LiteSpeed caching at 100% zero cost on CpanelFree.
Frequently Asked Questions
Do Apache .htaccess rewrite rules work in CloudPanel?
No. CloudPanel runs pure Nginx. However, standard WordPress permalinks work automatically via CloudPanel’s pre-configured Nginx vhost templates.
Configuring CloudPanel Nginx Security Headers and Gzip Compression
Under CloudPanel Site Settings > Nginx Configuration, verify that security headers (X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN) and Gzip / Brotli compression are active to ensure an A+ security and speed rating on Google PageSpeed Insights.
How do I manage MySQL databases in CloudPanel?
CloudPanel includes a pre-integrated, secure instance of phpMyAdmin accessible directly from the dashboard under Databases > Manage with phpMyAdmin.
Fine-Tuning PHP-FPM Process Manager in CloudPanel
CloudPanel allows you to configure PHP-FPM process managers (ondemand, dynamic, or static) per website. For high-traffic WooCommerce installations, setting pm = ondemand with pm.max_children = 50 ensures server RAM is conserved while instantly scaling workers during traffic spikes.
Pro Sysadmin Tip: Configuring CloudPanel Page Rules
Under Site Settings > Nginx Configuration, add custom FastCGI cache exclusion rules for /cart/*, /checkout/*, and /my-account/* to ensure customer checkout sessions remain dynamic and uncached.
Migrating to CloudPanel delivers the blazing performance of Nginx FastCGI caching paired with a clean, modern interface for high-performance cloud hosting.
Additionally, pairing CloudPanel Nginx FastCGI caching with Redis Object Cache offloads up to 95% of database queries from disk into memory, delivering blazing sub-50ms TTFB across your web applications.

