[development] Moving working Drupal environment to another web-hosting server

Larry Garfield larry at garfieldtech.com
Sun Nov 7 08:35:32 UTC 2010

It's absolutely possible and quite easy to move a Drupal install from one 
server to another.  There's various handbook pages on the subject you can find 
with a little searching on the new site, but the general outline is:

1) Copy all of your code and files directory to the new server.  (Remember the 
.htaccess file, which is hidden by default.)

2) Copy the database you've been using to the new database server.

3) Update the settings.php file to point to the new database credentials.

4) Maybe edit your .htaccess file if necessary, but frequently it's not.

5) Clear the cache.

6) Profit!!!

Drupal doesn't store information anywhere else besides its own files directory 
and the database you've configured.  (Well, unless you have an add-on module 
that uses some other database or system for some reason, but you would 
definitely know if that's the case.  If you have to ask, then it's not. <g>)

--Larry Garfield

On Sunday, November 07, 2010 12:47:41 am Kamal Palei wrote:
> Hi All
> Let me first thank you all for providing such a great platform Drupal.
> I am quite new to Drupal environment. With the given documenttaion I was
> able to get Drupal up and running.
> I have few questions as below.
> 1. Now I am gooing to develop complete site in my local machine.
> Basically I am going to make a site, where site visitors can upload their
> resumes.
> In the process of development, I might use panels, blocks, views etc.
> I may add contents to different pages and customize it as per my need.
> Once all development is done, I plan to move my site to a proper web
> hosting machine.
> Is it possible to move a working Drupal based environment to new web
> hosting platform?
> My worry is, in the process of developemnt, Drupal might have used local
> machine database
> to store any informations, once we move the environment to new web hosting
> m/c, will it
> not loose those informations?
> Can somebody guide me, is it possible to move localy developed Drupal
> environment to a new web hosting machine.
> If possible, please explain and provide link to related documentation.
> Regards
> Kamal

More information about the development mailing list