About us

Quality oriented, customer-oriented, hardworking, pragmatic and innovative

<Return to the public list of news

Eight steps to easily realize cloud migration of Hong Kong ECS

Release time: 11:35:06, January 14, 2021
With the gradual popularization of Hong Kong cloud services, more and more companies choose to use Hong Kong cloud servers. However, it is not easy to migrate websites from the original server to the cloud, so many people have made difficulties here. This step has also discouraged many webmasters from wanting to migrate data to the cloud, leading to many enterprise websites have not yet been successfully uploaded to the cloud. In so many systems, Windows32 is a noteworthy example. Today, Micronet teaches you eight simple steps, Help you easily realize cloud migration of Hong Kong ECS:
 Eight steps to easily realize cloud migration of Hong Kong ECS
1. Backup data
Most webmasters believe that backing up data is to back up the files inside the FTP protocol. In fact, backing up the files inside the FTP protocol is just an empty shelf. The contents inside the FTP protocol are mainly system files, HTML pages, pictures, FLASH, CSS files, etc. The real data of the website is stored in the database, The backup data needs to be backed up from two aspects: the file content inside the FTP protocol and the data in the database. Under normal circumstances, there will be a database backup function in the system settings of the website background, with detailed instructions. Just click the backup button as required to back up the data to the corresponding FTP folder, and the system will have the corresponding prompt.

2. FTP construction
The virtual institution is built on the server, so naturally, the FTP of the virtual machine is also created by the server. So we need to establish FTP on the server side to meet the needs of the website.
To create an FTP user, right click on my computer - Administrator - Local Users and Groups - User, then right click on the blank space and click New User. At this time, just enter two user names and passwords, and then check the following "User must change password when logging in next time", and select a password that will never expire.
Configure the FTP account subordinate group. Right click the user just created, select Properties, and then select Subordinate. Delete the user group in the subordinate, and add the guest guest users group.
Configure the FTP directory, right-click the user just created to select properties, open the configuration file, and write down the storage location of your website in the local path, for example: D: web point determination.
Then right-click on the web folder settings.

3. Database settings
Generally, there are multiple versions of the database system on the Hong Kong ECS. You can select the corresponding data for installation according to the version of the Hong Kong ECS. The installation tutorial is tedious, such as MYSQL2005.

4. Domain name restrictions
First find "Internet Information Services (IIS) Administrator" from "Start - All Programs - Management Tools" in the taskbar, then select FTP Site - Right click - Properties - Website, fill in the IP address provided by the service provider, and then enter the advanced website address configuration window. Other contents can be ignored. The host header value is written to your primary domain name. For example: www.idcbest.com

5. Upload data to FTP
This step basically uses FLASHFXP to upload data to FTP in binary mode (binary transmission mode can be selected in FLASHFXP). The advantage of this step is that data transmission can be one-to-one without losing data.

6.301 Relocation
The 301 redirect is different from the virtual host on the IIS server. It does not need to write the configuration file, but it can be configured directly on the server, but it needs to create a new empty site. First find "Internet Information Services (IIS) Administrator" in "Start - All Programs - Management Tools" on the taskbar, and then select FTP Site - Right click - Properties - Home Directory. At this time, you can see the redirected URL and fill in the redirected URL.

7.404 Page Setup
First find "Internet Information Services (IIS) Administrator" in "Start - All Programs - Management Tools" on the taskbar, then select FTP site - Right click - Properties - Custom Error - Select page 404 - Select and open message type - Set message type to URL type - Fill in/404.html, and then complete the operation.

8. Pseudo static setting
Find "Internet Information Services (IIS) Administrator" on the task bar, select FTP site - right-click - Properties - ISAPI Filter - Add, and then enter the content. After the installation is completed, a read-only httpd.in i will be automatically generated, changed to a writable property, and then write a pseudo static rule under the file:
[ISAPI_Rewrite]
#Defendyourcomputerfromsomewormattacks
Re Rule.*(?.*.[F, I, O]global.as a|default.id a| root. exe|..)
RewriteRule^(.*)-htm-(.*)$$1.php?$ two
RewriteRule^(.*)/simple/([a-z0-9_]+.html)$$1/simple/index.php?$ two
# CodeByJosh@PHPWind2009-10-08 ? (a-zA-Z]+)
 Eight steps to easily realize cloud migration of Hong Kong ECS
As long as the above steps are achieved, you can safely migrate website data to the Hong Kong cloud server. It is a simple eight steps to help enterprises easily go to the cloud. Huawei Cloud, a micro network agent, is an excellent cloud computing service provider with perfect industry solutions and excellent cloud computing technology. The self-developed pure SSD architecture ECS breaks the industry record with 50000 IOPS random read/write speed and 800 Mb/s throughput as performance indicators. The ECS elastic cloud server uses hardware devices with a pure SSD architecture. In just a few minutes, you can easily obtain and enable the cloud to meet your computing needs. Expanding the flexibility of resource use also saves you computing costs, simplifies IT operations, and enables you to pay more attention to core business innovation.



/template/Home/Zkeys/PC/Static