I have been developing a Drupal site at staging.mydomain.com so that my old site is still live. I am now ready to migrate it to the www.mydomain.com. What steps should I take to do this? I'm wondering if I need to install drupal again at www.mydomain.com, but then I don't want to redo all of my work with nodes and blocks. What is the best plan? This is my first time attempting to do this and I have SSH access and all that, so now I just need a plan of attack!

Comments

Ivanhoe123’s picture

Here are the steps:

1) Remove/move somewhere the old website and add "index.html" page with some message for the visitors. It has priority over the index.php so it will be loaded even when you upload Drupal website.

2) Export the database as zip (my recommendation) and then export the SQL file from there. Change all instances of "staging.mydomain.com" to "mydomain.com". Find and replace will be enough.

3) Upload the files (I'm assuming that you will use the same database)

4) Login to the website and check if everything is OK. Run cron and check the status report.

Hope I didn't forget anything :)

nanthony’s picture

I am being asked a similar question as this one. We are setting up a development area, test area and then the production/live area. I will do my work in the dev area and will want to push my work to test area and then when approved push it to the live area.
Each area will have a admin interface. Will exporting the database & the sql file allow each areas admin interface to be the same with regards to features and settings or will this have to be configured some other way? I want to be sure that what I am seeing and working with in the development area is the same thing that gets pushed over to the test and production areas.

I was also asked if a drupal site can be load-balanced across more than one server? This is not really my area so any input that can be given would be much appreciated!

carlhinton’s picture