Security migration techniques for virtual host Web sites

Source: Internet
Author: User
Tags domain domain name domain name server access

The choice of inexpensive virtual host is a science, choosing the best host on a different virtual host is also a painful process, because different Web sites rented virtual host or server performance varies, so you will encounter a Web site from one host to another host, I introduce the security migration tips today, To avoid unnecessary losses caused by the relocation of the website.

  1, the migration of new host detection

Under normal circumstances, should first test the new host IP address is safe, detect whether it is included in the spam list, whether the search engine screen, whether there are other illegal web sites, through telecommunications, netcom, foreign and other different lines can normally access the host IP address, Do not migrate sites to insecure, unreliable host IP.

  2, the development of the relocation plan

Develop a detailed and systematic site migration plan, save the original site content for at least half a month (but not necessarily update), preferably retain more than one months, because many search engines will cache DNS, so that the search engine use the original IP address can still access content. If you inadvertently delete the original site content, will cause the return of 404 error to the search engine, resulting in unnecessary losses.

  3, the implementation of the relocation work

Keep the original site unchanged, the original content of the site, database, server settings, etc. are copied to the new host, by modifying the local Hosts file (domain name designated as a new IP address) to test access to the new host is working properly, if the test new host everything is normal, you can make changes to the domain name resolution.

  4, the modification of domain name resolution

Try to avoid migrating a Web site by modifying the DNS (Domain Name server) server address, preferably by modifying a record, and modifying DNS requires a consumed after parsing takes effect and may be interrupted in the middle. Modifying A records is a bit more reliable.

At this point, the entire site's migration work is completed, remember that the original content of the site must be stored in the original IP address for some time, I have tested, some search engine crawler in the switch after the IP half a month will also visit the old IP address.



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.