Step by step move drupal from localhost to drupal hosting : From Localhost to Online

Sorry for late post, I have to attend a meeting for three days. Held by my office. Yesterday I get rest and today I’m ready to write. I hope you don’t mind :-)

Before we continue I just want remind you steps that we have done as follows :

  1. Setting Domain : cover step by step guide pointing domain to hosting company.
  2. Setting Add On Domain : how to set add on domain in cpanel.

Lets continue the rest.

Upload Drupal

Get ftp client like coreftp, filezilla and upload your drupal files to your hosting account.

~drupal hosting Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Wait for while, get tea, coffee or soft drink until process finish.

First Access

Open browser and type address :

http://batikweb.com

Site off-line

The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.


If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider’s database server is running. For more help, see the handbook, or contact your hosting provider.

The mysql error was: Access denied for user ‘root’@'localhost’ (using password: YES).

This is normal view as I upload old configuration file.

Open settings.php file (located in C:\wamp\www\drupal\sites\default)  and edit appropriate entry.

$db_url = ‘mysql://xxxxx_drupal:YqpN1}+!&)m@@localhost/xxxxx_drupal’;
$db_prefix = ”;
$base_url = ‘http://batikweb.com’;  // NO trailing slash!

Reupload the file.

Export Database File

Open phpmyadmin (localhost) and click on the name database you want to export.

In this case I click drupal.

~backup drupal db 1 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

New page open,click on Export link.  (make sure current database is set to drupal)

~backup drupal db 2 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Scroll down, let the setting as default. Check on “Save as file” section and click Go.

~backup drupal db 3 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Save the file and click OK.

~backup drupal db 4 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Import Drupal Database File

Login to cpanel at drupal hosting and click phpmyadmin under Databases section.

~import drupal db 1 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Click Import link and choose file.

~import drupal db 2 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Click Browse, locate the file and click GO.

When import process executed successfully You’ll see this message.

Import has been successfully finished, 76 queries executed.

Drupal website ready to serve.

~468x60521 Step by step move drupal from localhost to drupal hosting : From Localhost to Online~

Related posts:

  1. Step by step move drupal from localhost to drupal hosting : AddOn Domain Setting At previous post I have covered steps for domain...
  2. Step by step move drupal from localhost to drupal hosting : Domain Setting A client want to move his website that utilize...
  3. Install drupal in localhost with xampp Recommended Drupal Book : Using Drupal Pro Drupal Development,...
  4. Step by Step Install Drupal on WampServer : Vhost and Clean URL In previous post I have talk about fix ereg()...
  5. Step by Step Install Drupal on Wamp : Add Domain After reading my post about howto install drupal  in...

Related posts brought to you by Yet Another Related Posts Plugin.

Drupal, Step By Step

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(required)

(required)