It’s not very complex to change your website hosting. For changing web hosting, the first step is joining the new hosting provider. Initially, you have to keep it a secret from the old host; otherwise, they may terminate your site before you change the host.
Now, you have accounts with the old and new hosting providers. Carefully migrate your full website to the new one. For doing this, you can connect to the FTP of the old host, download your files, connect to the FTP of the new host, and upload the files.
You also have to back up the databases on your old host and upload these to the new host through FTP. Then restore the database from the backup files via SSH, cPanel’s phpMyAdmin, etc. You can also archive your mails from your old host by creating a connection of POP3 to every mail address, and you can download all old emails to the local computer. The new host can get the new emails.
If you want, some hosting services may transfer your full website without any charge. If the old worked in cPanel, these hosting services might also transfer emails.
After you have your files on both web host accounts, you have to change the DNS of your domain name. The new host will provide the right name servers (DNS). It’s also necessary to find the DNS settings for the domain name by contacting your new host. Usually, DNS name servers look like ‘ns1.myhostname.com’, and you have to replace ‘myhostname’ with the actual domain name.
After having the correct DNS, contact the company from where you bought the domain name for making the change.
After changing DNS, you have to wait two days for your site to be loaded from the new web host. Your DNS propagates worldwide, and the website loads randomly from either the old or new host during this time. After two days, your website will load from the new host.
Now your DNS will function properly. You can contact your old host to cancel the hosting. Don’t cancel the domain registration if you purchased it from the old host.
That’s all. You have successfully changed your website hosting after completing these steps. We hope these instructions have been informative for you.