We are using dupal 7 and required to move the site from the development server to the real working server. The steps we followed were as follows;
- Backup the folder containing the website
- Get the mysql dump file from the development server
- Copy the backedup folder to the website document root at working server and changed the ownership of the folder to the apache user
- Configure apache to accept requests of the website
- Edit the httpd.conf and add another name based virtual host to the file with the document root and server name of the website
- Created the database and database user to access the database
- Restore the mysql dump with following command
mysql -u database_user database_name < dump_file
Restart apache
You need to update DNS of the website to the new server