Things change, and sometimes your domain name and hosting is one of them. If you have a WordPress site to move, the process can seem daunting but do not fear; it is possible.
If you are keeping the same domain name, just switching to a different hosting server or hosting provider, this is a simple process of moving the files. Refer to this section of the WordPress article on the subject for more details.
If you need to change the domain name that your WordPress site resides at, this is quite a bit tricker, as the domain name is built into the files in a lot of places. Refer to this section of the WordPress article to find out how to do this.
You will need to follow all the steps in the article above on changing the location of the files in your hosting. If you skipped any of the steps, first refer to the article as it covers fixes for most of the common mistakes.
If you changed the domain name on the WordPress installation through your WordPress admin panel, but did not follow all the steps, you can fix it in phpMyAdmin in the cPanel. Once inside of phpMyAdmin, click the database name on the left, then click wp_options. The first field should be the URL of the Wordpress site. Just click and change the URL back to the original domain name. This is also where you can fix it if you have accidentally added www. before the domain name or if you were trying to force it to use only https://
Note: We cannot migrate Wordpress for you or troubleshoot any errors in the Wordpress changing process.