Drupal website Migration to giganetwebhosting.com top web hosting.
How to move your Drupal web site to our servers.
On the old site
- Document the modules used, their versions and paths etc.
- Document the temporary directory folder to be used in admin/settings/file-system and either prepare to edit this after restoring the database or make sure the same path exists on both sites.
- Set site to maintenance mode: in Administer → Site maintenance, choose "Off line".
- Consider updating Drupal core and modules before the migration
- Turn off clean URLs (Administer → "Clean URLs") Remember that, from now on, you'll enter the administrator part through
www.example.com/?q=user
("user" should not be replaced by any user name.) - Clear data from the cache tables. These are unnecessary for transfer and cause confusion when tidying up the data. The devel module and admin menu module contain links to do this easily, otherwise visit
www.example.com/admin/settings/performance
and click the "Clear cached data" button at the bottom of the page. - Backup your mysql database on your old host using phpadmin, select your mysql database, usually something like "name_drpl1". Select all fields, click "export" and save the database to your local harddisk. Leave default options enabled. You will receive a file similar to "name_drpl1.sql".
This is your mysql database - If your old site is public (on the web), consider setting your site on line: Administer → Site maintenance, choose "On line". Of course, all the modifications made on the old server from now on (readers' comments, forums posts, etc.) will be lost. Therefore, if you set back your old website on line and if it's public (on the web), consider blocking new comments to avoid users frustrations: Administer → Permissions.
- Copy the whole Drupal code – core, modules, themes, and download them if necessary or, better, transfer them directly to the new server. You could choose to use new copies instead on the new site.
- Copy the files directory and any similar directories (such as image galleries) and download them if necessary, or, better, transfer them directly to the new server.
On giganetwebhosting.com account:
- Upload your folder with the complete drupal installation to your home-directory.
- Once done, go to cPanel -> MySQL on the new host, create a new mysql database, example "name_drpl1" and create a new mysql user. Create a password for this new mysql user, click "assign all privileges" to this user and assign the user to the new database. You now should have a new mysql database on the new host with a mysql user, eg. "name_drpl1" as database name and "name_username" as database user name.
- Import (upload) the database (which you exported from the old host earlier) with phpMyAdmin to the new database. This might take a minute.
- If needed edit the file [drupal home]/sites/default/settings.php and edit at the section where you enter the database, location, username and password. You CAN enter the password either encrypted or not encrypted there.
- Chmod your "files" folder so it is writeable using your ftp client (filezilla), chmod to 755
- Double check your .htaccess and [drupal home] /sites/default/settings.php and make changes in case they are needed.
If you do not have web hosting with us already, click to sign up now only $1.90 per month!.