Simply list the procedures and considerations for replacing a host or server

Source: Internet
Author: User
Keywords nbsp; new server virtual host

&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; How to transfer a website from one host provider to another? Many users ask such questions. Some people think that the replacement of the virtual host is a very troublesome thing, but sometimes also have to change. In fact, if properly planned, the process of replacing the virtual host can be very smooth, there will be no downtime.

The following is a brief list of procedures for replacing a host or server.

The first step is to do a full backup first.

If your site is completely static, you or your website designer should have a full backup on your local computer. But just in case, you should still download a full copy of all the page files from the current server.

If your site is dynamic, such as a forum or blog, back up the database in addition to backing up all of your Web page files. A database backup can be managed through the database management function in the host Control Panel.

In short, to do a full backup, all possible backups are downloaded, just in case.

The second step is to register a new virtual Host account.

After payment is usually made, the new host provider sends the Host account information to the user.

In the third step, log into the new Host Account Control Panel, create the email address, and restore the backup through Control Panel or FTP.

If your new and old hosts are using the same control Panel, then restoring backup is the simplest, and the control Panel should have the ability to download and restore backups. If you are not using a control panel, you will have to upload all of your Web pages to the new Host account and restore the database backup manually through the database management tool.

Note that this process of creating a mail recovery backup is done on a new host, while the old host is still running.

The fourth step, login domain name Control Panel, modify domain name server, resolve domain name to new virtual host.

Step fifth, wait 72 hours to observe the situation.

The process of domain name resolution takes time and can be completed in a few hours. But in some cases it can take up to 72 hours, or longer. In this domain name resolution process, the new and old host are in normal operation, some visitors visit your domain name when visiting the new host, and some visitors are visiting the old host. This depends on the browser's network access provider DNS cache update. Because the same content is running on both old and new hosts, the viewer sees the same things.

Described above is a relatively simple web site transfer server process, if properly planned, there will be no downtime.

You need more arrangements for some complex situations. For example, if you are running a hot forum, you may need to close the forum during the transfer process, or in the process of domain name resolution, the old host added new posts, the new host is not see these posts, because the backup is generated in these posts posted before.

What do we do? To change the Web site virtual host need to pay attention to several points:

Migrating the same site on different hosts requires some skill, and today, the guest introduces some of the same domain name to migrate the site from one virtual host to another to avoid the site because of the migration of unnecessary losses.

1. Migration Preparation

First, the original site comments, such as the update function closed, then the original web site files, databases and other information for backup, and then downloaded to the local, and then the site content completely uploaded to another host, by modifying the Hosts method, the site's domain name point to the new IP address, manual verification site can be normal access.

2. Migration operation

Next, select a time period of less access, such as the wee hours, to implement a site migration by modifying the A record of domain name DNS, and not by deleting a record and then adding a new a record, which can cause a short web site to be inaccessible.

3. Migration process

Keep the original site content for at least half a month (but not necessarily update), to ensure that the search engine use the original IP address can still access the content, if it can not do this, it will be the original site completely closed, so that the original IP can not access, must not keep the original site open, When you visit, you get 404 wrong things happen.

4. End of migration

After half a month, can completely shut down the original website Web services, at this time, most search engines have been able to normally access the new Web site address, the end of the site migration.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.