I am looking for step-by-step assistance for migrating my drupal site to an entirely new server (from my own box to Hostgator).

I have a fully functioning site that I need to move to a hosting service as seamlessly as possible.

What I have done:

1. mysql dump of entire drupal database with drop-table.
2. Copied entire contents of drupal site folder to new server folder, including .htaccess.
3. Created new mysql database on new server titled 'forum' with mysql dump from old server.
4. Created new mysql user on new server 'forum' with appropriate pswd.

Question #1:
Do I manually edit the settings.php file or start by running the install.php as if it were a fresh install?

Hopefully this thread will propogate and help others with similar problems.

Comments

sjmo2’s picture

OK this is what I have been able to accomplish, and problems I encountered.

1. I ran install.php and was prompted to update my mysql location/login etc.
2. Then when opening the site homepage (index.php) I was happily greeted by my usual frontpage which includes a login.
3. From that point was unable to access anything else.

**The problem was url-rewriting, the new server did not 'understand' the old server url naming convention, although rewrite was enabled in .htaccess etc.

So,

I generally followed the recommendations from

http://drupal.org/node/153872

Use dirty urls

LOGIN

yoursite.com/PossibleDrupalFolder/?q=user

CLEAN-URLS

yoursite.com/PossibleDrupalFolder/?q=admin/settings/clean-urls

Now everything working, I think if you reactivate clean urls it should reconfigure to your new server, though not at that point yet, will let you know.