Website Transfer Process record

Source: Internet
Author: User
Tags vps website ip

Preface:

The network was disconnected last night. In the morning, changkuan's staff were called to check whether they had expired and had to pay for it.
When the network was disconnected last night, I went bored and looked at the implementation of the multi-database data layer in the DLL provided by a netizen. I saw a slot point and wanted to write it.
Today, we found that the No. 4 (tomorrow) of the autumn garden will expire, and VPS vendors will also need to recycle old machines, so we must transfer the VPs to another one.
So from two o'clock P.M. to, two hours are all done, because I feel that some steps are the same for each transfer. I hereby record the process.

The general process of website transfer is as follows:

 

I. Basic machine settings:

1: VPs reinstalls the system at a speed of 2003, which is about 10 minutes:

 

 

2: Create a New partition on the hard disk. The 40 Gb partition is D and E:

 

3: Rename the administrator user name and password:

 

4: The fault report is canceled, and Windows Update is disabled. The default patch is already quite new, and win2003 has been around for 10 years. It is estimated that there is no need to fill in:

 

5: transfer the virtual memory from C to other disks (E) (restart is required, and the last restart is required ).

This saves the image.

 

6: Modify the remote port 3389 (restart is required, and the last restart is left ):

I have released this tool before and opened the source code.

 

Ii. DataProgramAnd file packaging and transfer:

 

Although the data volume is small, it is also measured in G, so it is the fastest way to convert the data.
Considering that both VPs servers are in the United States, the best way is to remotely connect from one VPs to the other (and take the drive with it)
Through the copy and paste function of the drive area, we found that the speed is good, and the speed is close to M.

 

The data transfer process includes:

1: transfer of tools and installation programs

2: transfer of website programs and data

3: the backup of the website application pool and the transfer of the website backup (this is a sad reminder, one application pool backs up one, one website backs up one, but there are not many, a total of 8)

 

4. Database Backup Transfer

Iii. Program Installation

1. Install the remote control tool (Radmin) and set the port password and authorization code.

2: Install MSSQL.

 

Iv. Website Restoration 

1: Restore the program and data of the website. Note that the everyone permission may be set for some directories.

PS: the account name is changed. (IIS cannot be restarted before the computer is restarted. An incorrect account name ing error is reported)

2: After restoring the database, pay attention to restoring the database account (new.

3: Modify the SA account password and disable remote TCP (access through port 1433 ).

4: Pay attention to settings caused by IP changes (including possible web. config and IP binding headers in IIS)

 

V. Website IP Address Resolution Transfer

1: bind the IP address or other domain names to test whether the site access is normal.

2: Resolve the DNS of the domain name to the new IP address.

 

after the transfer is completed, the entire process is completed for two hours. The rest is to pray for God and ensure that everything is safe ~~~~

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.