I want to move my Drupal 7 site to a remote server. I searched the Internet for a solution, but the information I found were cluttered. Can someone care to write step-by-step how-to or provide a link?


That would depend a lot on the production server environment, and other factors.

Basically, you just copy the database to the server (along with perms), the Drupal filesystem (perms, etc), and point your web server at the correct directory in the filesystem.

Provide more information for a more detailed reply.

  • Accepting it to improve my aceept-rate. :)
    – Shafiul
    Nov 3 '11 at 4:15
  • You might need to update the $base_url and database configuration in the sites/default/settings.php Jan 6 '15 at 13:03

You can follow this steps and move your site to production server:
On your local site

  1. Install Backup and migrate, which will take the backup of the database (admin/config/system/backup_migrate).
  2. Install Backup and migrate files which will enable you to take a backup of your public files in the directory defined at admin/config/media/file-system.

On the production server

  1. Install fresh copy of Drupal.
  2. Copy the modules and themes from localsite's sites/all/modules and sites/all/themes to the respective folders on the fresh install of dev server.
  3. Enable the Backup and migrate module and backup and migrate files module.
  4. Go to admin/config/system/backup_migrate/restore and restore the backed up database and public files which you exported at your local site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.