› Forums › WooCommerce Services › How to Move WordPress to a new Host or a New Server?
- This topic is empty.
-
AuthorPosts
-
December 21, 2022 at 4:46 am #480Devin WilliamsParticipant
I am planning to move my website to the new hosting or server. Anyone please suggest what steps to be followed to complete this process?
December 21, 2022 at 1:54 pm #491ChristopherParticipantI’ll guide you through each step of the WordPress migration process so you can avoid any time-consuming issues.
1. Signup with a New Host
Prior to actually moving your WordPress website from one server to another, you must select and sign up with your new hosting company.
2. Back Up the Files on your Website
When you’ve decided on a new host, it’s time to start getting ready to transfer your WordPress site there.
To prevent losing any of your hard work, it is crucial to back up all of the files on your website to your local computer. This is true for everyone, even if your new hosting company is migrating your website for you, since backups are always a crucial precautionary measure.
These backups can be performed in one of two ways: by using a file transfer protocol or a WordPress plugin.
3. Export Your Database From Your Existing Host
The process of exporting your database is simple and is usually carried out using phpMyAdmin, a MySQL database administration tool.
You must first log into the control panel of your current hosting account (the one from which you want to switch). Your existing hosting provider can assist you if you use a different control panel, such as Plesk or vDeck, though most control panels function relatively similarly.
4. Create a MySQL Database on Your New Host
It’s time to create a new directory for all of those files and designate a user to be in charge of it now that you have a backup of your database stored. Go to the “Databases” section of your new hosting account’s cPanel and select “MySQL Databases” from the list of available databases.
5. Edit the wp-config.php File on Your Website’s Files
You can import the old database files that you saved to your PC once the database has been built on your new hosting account. However, because the wp-config.php file on your local computer is in charge of establishing the link between a WordPress website and its database, it’s crucial to do so initially.
6. Import Your Saved Database Into Your New Host
Use phpMyAdmin or the mysql command line software to import your database. The phpMyAdmin solution will be discussed because it is simpler to use.
Click phpMyAdmin from your cPanel dashboard’s “Databases” section.
A new window with the phpMyAdmin management page will open. Choose the database you wish to import the old file into on the admin page’s left side, then click “Import.” Click “Browse” and choose the exported database file from your local computer under “File to Import.”
7. Upload Your Website’s Files to Your New Host
The old files that you saved in step two need to be uploaded now that your new database has been imported.
Connect to your new host using your FTP application, and then look for the folder where your WordPress website will be placed. You can then upload your local computer’s contents, including the revised wp-config.php file, from there.
8. Update Your DNS Settings
Congratulations on completing the process! You must update your domain’s Domain Name System (DNS) settings to point to the new server IP address once your files have been uploaded to your new host. If you don’t do this, your old host will still be listed in the DNS settings.
You can execute this step with the help of your domain name registrar, but keep in mind that it might take up to 48 hours for your domain to propagate completely. During this time, avoid making any website changes because they will be applied to the outdated version of the site.
-
AuthorPosts
- You must be logged in to reply to this topic.