iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Migrating To A Dedicated Server

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Gary Smith

Over the years I’ve often had to move websites from one server to another. It’s not rocket science, but if you don’t have a plan and a very clear picture in your mind of exactly what you need to achieve then it can go pear shaped fairly quickly. So, here’s my ’standard plan’ for moving a server that runs some sort of script (i.e. directory site, traffic exchange etc) and a MySQL database. Let’s assume the old domain is domain.com and the new IP number is 1.2.3.4.

Step 1: Send an email to your member list 48 hours before the move.

Step 2: Create the domain.com account (CPanel etc) on the new server.

Step 3: Take a full backup of all data on the server and all data in the MySQL database(s) and restore them on the new server. Restore the MySQL database(s).

Step 4: Edit your windows hosts file (C:\WINDOWS\system32\drivers\etc\hosts) and add an entry for domain.com with the new IP address.

Step 5: Flush your windows DNS cache (open a CMD window and enter the command ‘ipconfig /flushdns’).

Step 6: Open your browser to domain.com. It should now be opening on the new server due to the hosts file entry. Just to be sure, place a comment in the home page file (index.html/index.php) like . That way, you can just view the source of the homepage to verify that you really are on the new server.

Step 7: Test EVERYTHING. Test the script. If it has an admin area, test the admin functions. Follow all the hyperlinks and make sure that everything is working correctly.

Step 8: Once you are sure the new site is working correctly, place an alternate homepage on the old server that says something like ‘We are moving to a new, faster server. We apologize for any inconvenience this may cause’. Now reboot the (old) server. This will kick anyone out that is currently logged in.

Step 9: The files should all be okay (unless you have some sort of funky file-based database). Now it’s time to take the ‘real’ database backup. You don’t want anyone losing anything, so you need to take a backup of the database again at the point where you prevented people from logging in.

Step 10: Delete the database on the new server and do a restore of the database backup that you just did from the old server. You now have the most current database data and everyone should be happy when they get to log back in.

Step 11: Update the DNS at your registrar to point at the new DNS servers.

There you have it. Eleven easy steps to a smooth server move :). You may get the odd person who says that they got to the new server but then it went to the old one again. That will be something to do with the DNS propagation and can be safely responded to with ‘give it a little while longer and all will be well’. If you still see or are alerted to problems after 72 hours then there may be something up with the DNS config on the new server but it would have to be a fairly obvious mistake and easily rectified if that were the case.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Gary Smith, the business owner, has been programming since 1980 and has run his own successful IT consulting and ISP businesses since 1995. More information about dedicated servers is available from The Dedicated Server Doctor.

Article Tags: database [See Dictionary], dns [See Dictionary], server [See Dictionary]
Got a question about this article? Ask the community!
Article published on October 28, 2007 at Isnare.com
 
Rate this article:

Email - Reducing The Bounce Factor
Submitted by: Gary Smith

I'm sure you've all seen the many 'email washer' type programs that change free to free and money to mon...

Reverse Cell Phone Lookup - Did You See a Number on Your Spouse's Cell You Did Not Recognize?
Submitted by: J Williams-Foster

Reverse cell phone lookup services can provide information about phone number owners for a myriad of reasons, one reason that's not always considered is in the area of love...

How to Dispose of a Multifunction Printer
Submitted by: Derek Rogers

As with most electrical equipment, your printer is full of plastics, components and potentially hazardous materials...

Top 5 Camcorders - Which One to Pick?
Submitted by: Roberto Sedycias

Purchasing camcorders leads the buyer to view a wide range of choices; however, looking for the appropriate choice depends on the need of the buyer and budget...

Camcorder Recording Methods and Technology
Submitted by: Allen Roberts

Over the years, camcorders have evolved from tape (which has spanned many decades), to DVD, and more recently to Harddrives(HDD) and Flash Memory...

Valuing Your Entertainment With the LED LCD TV
Submitted by: RahXephon NeO

If you are looking into the latest technology for entertainment, then considering a LED LCD TV may be the best alternative...

How to Select a Digital Camera For Personal Needs
Submitted by: Roberto Sedycias

It is not necessarily that crucial to rely on the brand name when attempting to select the best digital camera...

Problems and Positives With Gps Cell Phones
Submitted by: Roberto Sedycias

GPS stands for Global Positioning System This can be a very valuable tool when traveling, or simply when trying to locate something in the local area without making unnecessary stops or getting lost...

Nokia 7510 Supernova Mobile Phone Review - The Ultimate Fun But Affordable Phone
Submitted by: Carlson Osbourne

The Supernova series that Nokia has released over the past few years has been met with a variety of reactions from mobile phone reviewers, with the most prevalent feeling being one of disappointment...

Reviewing the Akiles DuoMac 531 Combination 5:1 Pitch Coil and 3:1 Pitch Wire Binding Machine
Submitted by: Jeff McRitchie

As the only binding machine on the market with its particular set of features and options, the Akiles DuoMac 531 appears to hope that its versatility will provide binding solutions for businesses that want flexibility in their document production...

Akiles DuoMac 521 Combination Binding Machine Review
Submitted by: Jeff McRitchie

The Akiles DuoMac 521 presents the market with some nice versatility, although in an unusual combination of binding styles...

Reviewing the Akiles DuoMac 541 Combination 5:1 and 4:1 Pitch Spiral Coil Binding Machine
Submitted by: Jeff McRitchie

The Akiles DuoMac 541 is a unique binding machine in that it allows users to produce documents with both a four to one and five to one pitch binding...

Reviewing the Akiles DuoMac C51 Plastic Comb and 5:1 Pitch Coil Combination Binding Machine
Submitted by: Jeff McRitchie

Uniquely positioned as the only 5:1 pitch combo binding system on the market, the Akiles DuoMac C51 is presented as a solution for businesses that want the ability to do a variety of binding styles all on one machine...

Reviewing the Akiles Megabind 1E Plastic Comb Binding Machine
Submitted by: Jeff McRitchie

An electric comb binder that is meant for medium sized organizations and daily use, the Akiles Megabind 1E includes some features that smaller binding systems don't...

Reviewing the Akiles Offibind 21D Plastic Comb Binding Machine
Submitted by: Jeff McRitchie

As the smallest of Akiles' comb binding systems, the Offibind 21D is intended for use in small or home offices, or for businesses on a very tight budget...

Reviewing the Akiles OffiWire Wire-O Binding Machine
Submitted by: Jeff McRitchie

Presented as a small or home office solution for light duty binding, the Akiles OffiWire comes in 3:1 or 2:1 pitch versions...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy