Moving to a new server

Posted on 2014-08-21
Medium Priority
Last Modified: 2014-08-21
Saturday evening I have to move my web sites to a new server.  The server itself is up and running and I have full access to it.  Here is what I think I have to do.  Please tell me if it looks like I am missing anything:

1) Change the dns in godaddy to point to the new ip address.  This will render the sites "down" until the dns propagates.

2) While the dns is propagating and the sites are down,  move my sql server data files, create the data bases in my new sql server and attach the databases.

3) What about my mx records.  I currently use Mandrill as my smtp server.  Do I need any mx records, "A" records, or other settings changed at godaddy or at my new server?

I would like as little down time as possible for my sites, limiting it just to the time that the dns takes to propagate.
Question by:Bob Schneider
LVL 30

Accepted Solution

Rich Weissler earned 2000 total points
ID: 40276219
A few thoughts:
  First, you can start now, changing the TTL on the DNS records.  For example, if you normally have a twenty-four hour Time To Live on your DNS entries, you can change just the entries related to the web server down to, say ten minutes the day before the change.  Then, on the day of the change, you can make your change, and the propagation should be done in less than ten minutes.

  Second, just the DNS propagation won't, on it's own, take down your sites.  Users will still hit the old or the new site, depending on which DNS entry they have.  If you choose to have it down, put up a maintenance page on the web servers while you make your changes.  (Or you can set-up a redirect on the server which is shouldn't be accepting traffic to go to the server which should be accepting traffic.)

  Third, if your databases are relatively small, the SQL move sounds like a plan.  Have you already run a test move of the databases, and make certain the necessary logins for your application(s) end up on the new server as well.  (Testing the database migration shouldn't interfere with the normal operation of the servers.)

  Is your new server _receiving_ email too?  The MX entries would be needed if (1) you want it to receive email from other servers, or (2) it'll be sending email out without going through a host which explicitly trusts it.  (Hmm, and a quick look at Mandrill, it appears it's an email service provider.  If my quick read is correct, all the MX entries should direct to Mandrill servers.  Confirm that your existing MX entries point to their servers, and for extra comfort, I'd confirm with their support desk that you don't need to make changes to MX or A records for email.  (And I'd also check with their support desk if you're server sends out email through Mandrill to confirm they don't need to make any changes on their servers just to accept email from the new server(s).  That'd be completely separate from DNS records.)

Author Closing Comment

by:Bob Schneider
ID: 40277652
Very helpful.  Thank you!

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question