How to migrate from CentOS6 to CentOS7?

Browse by products and services

  • Applies to: DV Managed
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access


When it comes to "upgrading" a Managed DV/VPS from a CentOS6 to a CentOS7 server, the safest and most effective way to accomplish this is by migrating the server. A migration actually provides a few advantages:

  1. Media Temple can provide a new CentOS7 server (free with credit for 1 month).
  2. You can migrate your site data to the new server, without directly affecting the live CentOS6 server.
  3. You can test the new CentOS7 site before going live.

Getting the new server

If you are attempting to migrate between Media Temple servers, you are eligible for a 1 month credit on the new server.

To take advantage of this offer, simply contact Media Temple by opening a support request, starting a chat, or by calling us at 1.310.841.5500. Let us know that you wish to perform a server migration and would like your 1 month credit.

When requesting the new server, be sure to specify:

  1. Whether you would like Plesk or cPanel
  2. That you want a CentOS7 server.
  3. Choose a Level for your new server.

For a breakdown of prices/resources, feel free to visit our website here.

Migrating to the new server

Once you've acquired the CentOS7 server, you will want to perform the migration. While the concept of a "migration" may sound intimidating at first, the process is more similar to just "copying" your data onto a new server, and can be performed without directly affecting the existing server. If you'd like to perform the migration on your own, feel free to review the additional documentation below:

Need help migrating? Advanced Support can help!

Advanced Support can perform a migration on your behalf.  Customers migrating between Media Temple servers are also eligible for discounted rates! For more information, contact Media Temple by opening a support request, starting a chat, or by calling us at 1.310.841.5500. For general information on Advanced Support, feel free to check out our webiste here.

Testing the new server

Once the migration is complete, you will want to test the CentOS7 server. This is due to the fact that there are various software and application differences between a CentOS6 and CentOS7 server. You may also want to check the error logs to see if there is anything unusual occurring in the new server. Below are some documentation which may assist you in the testing process:

Switching DNS

Once testing is complete, you will now want to push the CentOS7 server live. This is done by updating the DNS. To do this, go to the appropriate nameserver(s) for your domain(s), and point the zone files to the new server IP.

If the nameserver(s) and alternate domain(s) are with Media Temple, you can utilize the point to another server tool.

If you've lowered the TTL and waited the original time interval, then the DNS propagation should be about 5 minutes. If you haven't, then you will need to wait for about 24-48 hours for DNS propagation to complete.

Closing the old server

Once DNS has been successfully moved and propagated, the migration process is complete! You will now want to close the old CentOS6 server to ensure that you don't end up paying for two servers. 

The Account Owner can login to their Media Temple Account and submit a request to close for the old server. If the request to close needs to be expedited, the Account Owner can submit a support request specifying the following:

  1. They want to process the request to close immediately
  2. They understand this will result in the loss of all data on the old Cent0S6 server.