Download this file and extract it into the root folder: http://www.magentocommerce.com/_media/magento-check.zip
Go to yourdomain.com/magento-check.php - This will give you a rundown as to whether or not you\’ve got PHP setup correctly.
You shouldn\’t have to change the database connection configuration anywhere except app/etc/local.xml
Make sure the web server has url rewrites enabled
There is no need to change anything in the core_config_data table unless the domain changed (or SSL has changed)
If you have SSH access to the old system, you just want to tar the Magento root folder and preserve the permissions:
tar cpzf ww.dingdong.com.tar.gz http://www.dingdong.com
Then you want to dump the database:
mysqldump -u root -pPassword database_name > database_name.sql
Transfer the files http://www.dingdong.com.tar.gz and database_name.sql to the new server
Then extract the tar file in the web root:
tar xpzf http://www.dingdong.com.tar.gz
After you have created the empty database using the same database name as before, restore the contents from your database dump:
mysql -u root -pPassword database_name < database_name.sql
If the database name or user or password has changed, make the corresponding changes in app/etc/local.xml
Delete all files in Magento root/var/cache Magento root/var/session/ and Magento root/var/locks
If the server (Apache, PHP, MySQL) is configured correctly, the website should just fire right up.
If the user www-data is not the owner of all the files, it is important to put the user www-data into the owner\’s group and give the group read and write permission to all files.
If you don\’t have SSH access to either of the servers, you are going to take hours to do a job that should really only take minutes to accomplish.