Get the App
SLTechnology News&Howtos  ›  Development  › 

How to migrate websites securely

Shulou Source: shulou.com Published: 2022-06-01 03:05:54 09月22日 Update

Editor to share with you how to safely migrate the website, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

It takes some skills to migrate the same website on different hosts. Today I will introduce some techniques for migrating websites from one host to another under the same domain name, so as to avoid unnecessary losses caused by the migration.

1. Migration preparation

First, turn off the update functions such as comments of the original website, then back up the files, databases and other information of the original website, then download them locally, and then completely upload and deploy the content of the website to another host. By modifying the hosts method, point the domain name of the website to the new IP address, and manually verify that the website can be accessed normally.

2. Migration operation

Then, select a period of time with less traffic, such as in the early hours of the morning, to achieve the migration of the website by modifying the A record of the domain name DNS (Domain Name Server). Be careful not to delete the A record and add a new A record, which will cause the website to be inaccessible for a short time.

3. Migration process

Save the content of the original website for at least half a month (but do not necessarily need to be updated) to ensure that the search engine can still access the content using the original IP address. If this cannot be done, then the original website should be completely closed, so that the original IP cannot be accessed, and the original website must not be kept open.

3. End of migration

Half a month later, the WEB service of the original website can be completely shut down. at this time, most search engines can normally access the new website address, and the website migration is over.

The above is all the contents of the article "how to migrate a website safely". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Website content original host address domain name article security engine skill search engine time search update different not much information function backup most Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi Apple Shulou Technology NVidia