npppppppppppppp
Iptions is a personalized full-service technology consultancy offering strategy, design, and development services that provide our clients with innovative IT solutions. Our technicians, programmers, and project managers work tirelessly towards that end.
a / website Creating quality products that make your life easier
This page outlines the general procedure I use to transfer websites from one server to another. I only cover Linux servers because that's what I use, but the same principles should apply to any server. I assume that if you're reading this page, you know the basics of how websites work and how they exist on servers (if not, you probably shouldn't be attempting this task).
The procedure varies according to different setups and requirements. I've provided a few different options along the way.
Important: The process of transferring a domain name takes time (up to 48 hours). For this reason it is important to plan the move carefully so that it unfolds smoothly and efficiently.
Before you transfer the domain name you should get the site up and running (as much as possible) on the new server. This way you can test it thoroughly and make sure everything is working before taking the plunge. It also means the transfer will be more or less transparent for end users. If you do it carefully, no one will notice the transfer and you won't lose any visitors.
You will obviously need the website files to do this. There are several ways to acquire the files:
To set up the site on the new server:
Now you need to browse to the new website and make sure it's working. Because the domain has not yet been transferred you can't just visit the URL, so you'll need to be a bit tricky. There are two ways I can think of to do this:
When you are happy that everything is working on the new server, move to the next step.
This step is only required if you have any interactive or database-driven content, for example, a forum, chatroom, shopping cart, etc. If this doesn't apply to you, go to step 4.
Remember that once you initiate the domain transfer (in the next step), there will be a delay of up to 48 hours during which end users will see either version of the website. In other words, some people will see it on the old server, some will see it on the new server. This raises the prospect of new data being added to databases on both servers simultaneously.
To prevent your databases becoming out of synch, you need to prevent any new data being added to the old database before you transfer the domain. Simply disable any affected features on the site. For example, most forum software has an option to prevent any new posts being submitted. You might like to post a message on the old site saying something like "We are currently moving servers. Please visit again in a few hours and reload this page if necessary".
Once the old databases have been made read-only, you might want to transfer them again to the new server just to make sure you have the most current version possible. On the new server you would obviously then need to enable anything you have disabled.
Initiate the domain transfer. These days it usually happens quite quickly but don't forget that some ISPs will be a lot slower to pick up the change. Wait at least 48 hours before deleting the old site.
If you changed your local DNS settings for testing, don't forget to remove the test setting.
Finally, once the domain transfer is complete, test everything again on the new server
If you still need help with this contact us and we can do it for yourself.