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 replace the virtual host of the website

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to replace the virtual host of the website? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

1. Website backup

Website backup is database backup, before replacing a new server, the webmaster must first download all the data on the old website space to the local, if you do not know how to download, you can ask the space business to help.

2. Modify DNS cache time

It refers to the retention time of each domain name resolution record in the DNS server. When replacing a new server for the website, the webmaster should set the DNS TTL value as low as possible, which can accelerate the effective time of domain name resolution and facilitate the search engine to know as soon as possible that the website has changed the server. Otherwise, spiders may not be able to crawl the site.

3. Upload the data to the new server and complete the parsing

The webmaster should upload the pre-backed up website data to the new virtual space, and then check whether the website can be accessed, whether the database is missing, and whether the background can be opened. If there is no problem, you can resolve the website domain name to the new server. When doing all of the above, the website on the old server must be kept running. As long as to ensure that user access, spider crawling are normal, the ranking of the site will not be affected by the replacement of the server fluctuations.

4. Pay close attention to the IIS log to see if the spider crawls the website

The webmaster should also pay attention to the IIS log of the new server, mainly to see whether the spider begins to crawl the data on the new server. Once a normal spider crawl record is generated, it shows that more than half of the replacement server has been successful. Because domain name resolution will not be fully resolved to the replacement server within 72 hours, the data of the old server should remain unchanged during the resolution period.

5. Two servers run for 1 to 2 days

It is recommended to keep it for 1 or 2 days, and then shut down the old server after the site is running steadily on the new server. This will help you ensure that you will not lose any access to users or emails. Search engines also tend to update DNS records every 24 hours or less. Therefore, even if the search engine can handle this kind of site migration and DNS records, it is recommended to keep the old and new servers updated for a day or two just in case.

6. Update content and release chain

After the replacement, Baidu has a new review period for the site, we should improve the quality of the article and try to adopt the original way. After the update, send out the chain to attract spiders. For example, go to popular forums or blog outside the chain, lead it into the site, this process will take a period of time, need to adhere to.

7. Delete old server data

After the website runs stably, the webmaster can delete the old server data. At this point, the replacement of the virtual host is complete.

This is the answer to the question about how to replace the virtual host of the website. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

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