Migrating Drupal from one server to another


I got to migrate a website which is created in Drupal 8 and it’s located in one of the Ubuntu server. I’m trying to migrated it to Drupal 8.2.6 in CentOS.

I have manually setup LAMP on CentOS. I was able to access php, Drupal and apache from the browser. Then I took a back up of previous Drupal DB with the help of “Backup and Migration” module. On the current Drupal, I have imported the DB using “import” in phpmyadmin and copied all the config files from previous Drupal server to the current in the Drupal directory. 

From the time, the DB and the config files are brought into the new Drupal server, the website has stopped working. 

I get an error ” The website encountered an unexpected error. Please try again later. ” whenever I try http://myip/drupal

Any leads on this would be appreciated. 





Drupal version: 

Source: https://www.drupal.org/taxonomy/term/37/feed