Please follow below steps to migrate the website:
- Create a backup of the website from the existing server.
- Create a zip file of the source folder.
- Note: You may have to check with the person/team that handles the older server.
- Take a database backup of the website using backup & migrate module of Drupal.
- Note: If you do not have permissions, you may ask a person/team that handles the old website.
- Create a zip file of the source folder.
- Log in to the new hosting server.
- Add the domain as an Addon Domains. Give an appropriate name for the folder while adding addon domain. There will also be a subdomain created for the addon domain.
- Go to Domains section, under that click on Addon Domains, now fill field details like New Domain Name, Subdomain, Document Root, and Password. Then click on the Add Domain button.
- Create a new database and a new user in Cpanel. Assign the user to the newly created database and grant all the privileges.
- To create a database, Go to the Databases section, click on MySQL Databases. Type your database name and click on Create Database.
- To create the user, go to MySQL Databases. Fill username and password, click on Create a User. And also provide all privileges.
- Now add user to the database, select user and database. Finally, click on Add.
- Go to phpMyAdmin in Cpanel and navigate to the newly created database and import the backup of the database of the website to the same.
- Browse the database file then click on Go.
- Wait until a successful message shows like below image.