Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to migrate websites made with virtual hosts

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to migrate websites made with virtual hosts," interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let Xiaobian take you to learn "how to migrate websites made with virtual hosts"!

One: Pre-preparation for replacement of virtual hosts, check

Virtual host can not be replaced randomly, first of all should check whether you replace the virtual host IP security, whether the search engine shielding, whether there are other illegal websites, etc., do not migrate to unsafe and unreliable host IP site.

II: Migration during periods of low website traffic

In general, the best time to migrate a website is early morning. But for someone like me who can't stay up late, it's unrealistic, so it's best to get up early to change space, like 7 a.m. 2-5 pm and 8-11 pm are peak periods for Internet use and the most visited times for various websites. Take a look at your statistics.

3: Make a backup for the website

Backup database and upload folder is the most important, remember to make a backup. If you don't know the directory structure of your site's programs, you can spend more time backing up the entire site. Lu Songsong usually does backup is to download these important directories to my computer. While making backups for the website, you can first turn off various services of the website, such as comments and message functions.

IV: Pay attention to retaining the original virtual host website

Use FTP to migrate to the new virtual host, manually confirm whether the website can be accessed normally, generally the virtual host will provide a free third-level domain name, and test the migrated website on the third-level domain name. If the test is OK, start re-resolving the domain name.

5: Resolution of domain name A records

Domain name resolution setting method: member login → domain name management → click the domain name to be resolved → domain name resolution service → set a new resolution address, that is, modify the A record of the domain name. After the domain name control panel is resolved and quickly re-set the domain name in the website control panel, it usually takes two hours to successfully access the new virtual host.

6: Please keep the original website for at least 7 days

Site migration to play in advance, the original site content will be saved for at least 7 days, do not update the station, to ensure that search engines use the original IP address can still access the content, because many search engines will cache DNS, if you go to delete all the original site data, there may be a lot of 404 error pages, such as search engine cache DNS update, you can delete all the data on the original virtual space.

At this point, the work of the website migration of the virtual host is completed, in fact, it is very simple, remember: to ensure that two identical websites can appear in two different domain names at the same time and access normally, and then domain name resolution to the new station, and retain the old station for a period of time, the focus is on these steps.

At this point, I believe that we have a deeper understanding of "how to migrate websites made with virtual hosts," and may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report