How Can We Help?
-
.Net
-
Backup
-
Data Storage Containers
-
Docker Containers
-
Environment Management
- Swap-Domains
- Clone Environment
- Create Environment
- Environment Aliases
- Environment Aliases
- Environment Migration between Regions
- Environment Regions
- Environment Transferring
- Environment Variable
- Environment Variables
- Environment Variables(Apache meaven, Memcached)
- Environment Variables(Go)
- Environment Variables(JAVA)
- Environment Variables(Load Balancer)
- Environment Variables(Node.js)
- Environment Variables(PHP)
- Environment Variables(Ruby)
- How to Migrate a WordPress Site to BitssCloud PaaS
- How to migrate my environments from another Jelastic provider?
- HTTP Headers
- Java VCS Deployment with Maven
- Setting Up Environment
- Share Environment
- Why is my environment in sleeping mode?
- Show all articles (9) Collapse Articles
-
Java
- Environment Variables - Java custom Environment Variables
- Java App server Configuration
- Java Options and Arguments
- Multiple Domains on Tomcat server
- Secure Java Encryption and Decryption
- Spring Boot Standalone and Clustered Java Applications with BitssCloud
- Timezone Data for Java/PHP App Server
- Tomcat HTTP to HTTPS redirect
- WildFly server
-
LiteSpeed Web Server
-
OOM Killer
-
Python
-
Reseller SetUp
-
Secure Socket Layer (SSL)
-
Troubleshooting
-
Account Management
-
CDN
-
Databases
- Database Configuration
- Database Connection Strings
- Database Hosting in BitssCloud
- Environment Variables(Database)
- Galera Cluster not working
- How to export/Import Database via Command line
- How to install MSSQL server on Linux (2017)
- MariaDB/MySQL Auto-Сlustering
- MongoDB Database Backups
- PostgreSQL Database Backups
- PostgreSQL Database Replication
- PostgreSQL Master-Slave Cluster
- Remote Access to PostgreSQL
- Schedule Backups for MySQL and MariaDB Databases
- Scheduling Databases Backups
-
Domain Name Management
- Container Redeploy
- Custom Domain Name
- DNS Hostnames for Direct Connection to Containers
- How to Bind Custom Domain via A Record
- How to Bind Custom Domain via CNAME
- Multiple Custom Domains on an Nginx Web Server
- Multiple Domains with Public IP
- Multiple Public IP Addresses for a Single Container
- Setup WordPress Multisite Network with Domain Mapping and CDN
-
Jenkins
-
Load Balancing
-
PHP
- Creating Environment for PHP
- Deploy PHP Project Via GIT SVN
- How to Check Change PHP Version in BitssCloud
- How to create environment for AngularJs/ReactJs
- How to Enable PHP Extensions
- How to Install Custom PHP Application
- Ion cube Loader
- MariaDB PHP connection
- MySQL PHP Connection
- NGINX PHP
- PHP App Server Configuration
- PHP Connection to MongoDB
- PHP security settings
- PHP Session Clustering
- PostgreSQL PHP Connection
- Running Multiple Domain Names on Apache Server
- Security configuration for Apache
- Zero Downtime (ZDT) Deployment for PHP
- Show all articles (3) Collapse Articles
-
Release Notes
-
Ruby
-
SSH
-
Wordpress
-
Application Management
-
Cluster
-
Deploying Projects
-
Elastic VPS
- CentOS VPS
- Elastic VPS configuratation
- Elastic VPS with full root access
- Installation of cPanel in BitssCloud
- Java Console Application with CentOS VPS
- Linux VPS Access via Public IP
- Linux VPS Access via SSH Gate
- Setting Mail Server Inside CentOS VPS
- Setting Mail Server Inside CentOS VPS
- SSH Access to VPS Gate
- Ubuntu VPS
- Ubuntu with CSF Firewall
-
High Availability
-
Jitsi
-
Node.js
-
Pricing System
-
Request Handling
-
Scaling
- Application Server with horizontal scaling
- Automatic Horizontal Scaling
- Automatic Horizontal Scaling: Multi Nodes
- Automatic Vertical Scaling
- Database Horizontal Scaling
- Docker Containers Horizontal Scaling
- Horizontal Scaling
- Load Balancer with horizontal scaling
- Memcached horizontal scaling
- Storage Container
- VPS Horizontal Scaling
-
Traffic Distributor
-
General
- Apache & NGINX Modules
- BitssCloud Dashboard Guide
- Build and Deploy Hooks
- Cron Job scheduler
- FFMPEG Setup
- File Synchronization
- FTP Overview
- FTP/FTPS Support in BitssCloud
- How to Deploy Magento into BitssCloud PHP Cloud
- How to Enable Expert Mode in JCA
- How to open a support ticket to BitssCloud
- Installation of FTP
- Kubernetes Cluster
- MarketPlace
- Reduce Cloud Waste with Automatically Scheduled Hibernation
- Run Configuration
- SFTP Protocols for Accessing BitssCloud Containers.
- Supported OS Distributions for Docker Containers
- Timezone Addon
- Two-Factor Authentication
- Types of Accounts
- Varnish
- Websockets Support
- What is Cloudlet
- What is PaaS & CaaS
- WordPress AddOn
- Zero Code Change Deploy with No Vendor Lock-In for Smooth Migration across Cloud Platforms
- Show all articles (12) Collapse Articles
-
Go lang
-
Wordpress category
-
Data Storage Container
-
Memcached
-
Account & Pricing
< All Topics
Print
WordPress to WordPress Cluster Migration
This guide is intended to help with the smooth migration of WordPress websites to BitssCloud WordPress Cluster. Follow the simple steps to make migration flow painless and secure.
Note: This is a manual process. For plugin-based migration refer: https://BitssCloud.com/portal/knowledgebase/288/How-to-Migrate-a-WordPress-Site-to-BitssCloud-PaaS.html
Overview:
- Migration
- Install Litespeed Cache
- Redis Setup
- Troubleshooting
Migration
- You will need to backup all existing data from your old WordPress installation. For manual migration, you will need all files under your account’s root (known as ‘public_html’ or document root). You need to compress the files to ZIP in order to transfer to BitssCloud WordPress Cluster. You will also need your database file. You can download your database from your hosting panel. A well-known and widely database manager is PHPMyAdmin. From here you can export your database in SQL or ZIP format.
- Once you are ready with files, Create a WordPress Cluster Kit. Check our article on how to configure WordPress Cluster Kit: https://BitssCloud.com/portal/knowledgebase/308/WordPress-Cluster-Installation-Guide.html
- Now you have to extract all your files in Application Node under /var/www/webroot/ROOT folder. For this, you have a couple of ways. You need to upload the zip first via FTP. Check here how you can connect via SFTP: https://BitssCloud.com/portal/knowledgebase/279/SFTP-or-SSH-Access.html
If you have access to your ZIP file via any URL you can download it to your Application Server via WebSSH.
Once downloaded extract the files#Change folder to where your ZIP is stored cd /var/www/webroot/ROOT #unzip data in the current directory. Change data.zip with your file name unzip data.zip
Note: The data you extracted may not be correctly placed under /data folder to move extracted files just use the mv command to move files and folder. - Now for Database upload access PHPMyAdmin. You should get login details for PHPMyAdmin via Email as soon as you install Cluster. Using those credentials log in to PHPMyAdmin. Here you can create, delete, upload a database.
You can upload to pre-existing and currently in use database for import your database. You can also create a new database. But if you created a new database you will need to update the wp-config.php file with the new Database name.
You can also upload SQL via FTP and put it in a folder /var/lib/jelastic/phpMyAdmin/upload/ mentioned in the image and then import it by selecting the file option
Also, you can import the database via command line#below command will import the file.sql stored into database_name #make sure to set username database_name and correct path to file #Once you press enter you will be prompted for a password mysql -u username -p database_name < /path/to/file.sql Enter Password:
Note: In WordPress Cluster, Galera Cluster is used which requires all tables having PRIMARY KEY defined. So check your database once if all databases have PRIMARY KEY or not. If it doesn’t have one then you can simply add PRIMARY KEY to the database via PHPMyAdmin. - Make sure your wp-config.php has correct Database credentials in the wp-config.php file. As mention previously you can find credentials in your email.
- Now access WordPress and check if everything is working or not
Install Litespeed Cache
- To install the Litespeed cache (If not already installed) you need to install a plugin in WordPress
- Go to wp-admin > Plugins > Add new
- Search Litespeed Cache in the search bar
- Click on Install and once it is installed activate the plugin
Redis Setup
In WordPress Cluster, the Redis is configured by default. You can see it in the Variables section for more clarification.
To check Redis connectivity with the server, follow the below steps:
- Take SSH of web-server
- Run the command redis-cli
- Output: Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected> - Check the status of redis by ‘service redis status’
- If it’s running then need to check the port in the redis.conf file.
- The default port is 0. Change it to default redis port i.e. 6379
- Restart the web-server
- Now the o/p of redis-cli will be
127.0.0.1:6379>
Also, need to configure Redis in wp-admin. For this, you can refer to the below steps:
- Login to wp-admin
- Go to Settings > Litespeed Cache > Object
- Add the Host and Port
Troubleshooting
- Access Denied:
- Take WebSSH access of storage node and run below command
chown -R 700:700 /data
- Take WebSSH access of storage node and run below command
- Wrong URL:
- You can set Home URL and Site URL in the wp-config.php file
- Or you can directly change Home URL and site URL in PHPMyadmin > Your Database > wp-options
- Changes not reflecting:
- Go to WordPress > Litespeed Cache
- Clear All Cache (Or select appropriate action according to your needs)
Table of Contents