High end responsive website template

Responsive web design, open source code, permanent use, unlimited domain name, unlimited number of uses

ECS 2 folded

How to move from php website to dream website

Now, due to the iterative update of Internet technology, many enterprises' websites have bought a host space of spicy chicken in the past few years, which has led to extremely slow website access speed, and the price of the host computers purchased is generally falsely high. So many customers have found customer networks and want us to help them move websites. Most of them have several websites that need to move, Some customers also come to ask if there is a good host. We generally recommend Alibaba Cloud as the first choice, followed by Tencent Cloud. Why do we recommend these two service providers? Because both of them have absolute advantages in terms of service quality, product quality or product price, and only a few hundred yuan can buy a server that can be used for three years, which is an absolute benefit for many small and medium-sized enterprises. If you want to move the website to the server, please understand【 Server Environment Configuration Tutorial 】。

  How to move from the php website to the dream website

Now let's get to the point. There are thousands of website programs, and we can't explain every kind of website program in detail, but the principle is the same. Today we will take the dream program with the highest usage rate and relatively complicated moving program as an example to do in-depth tutorial explanation. General steps for website relocation: backup the database, package the website, change the domain name binding, upload the website to a new space, and restore the work.

1. Backup database

Generally, the background of the program has the function of backing up the database, so you can go to the corresponding place in the background of the website for backup operations, as shown in the following figure:

  How to move from the php website to the dream website

If there is no backup function in the background, you need to export the database to the local database from the database management program PhpMyAdmin, as shown in the following figure:

  How to move from the php website to the dream website

2. Package website

First, package the source code of the website. The best packaging file format is zip compression, and then download it locally through FTP software. Ftp software recommendation FileZilla And Flashfxp. If it is a dream program, you need to do one more thing: go to the install folder and find three files: install_lock.txt, module-install.php.bak, and index.php.bak. Then delete the install_lock.txt file, and delete the module-install.php.bak, index.php.bak. This step is called unlocking. As shown below:

  How to move from the php website to the dream website

Then modify the database configuration file of dream weaving program, and change the original database address, database name, database user name, and database password to the current one. The database configuration file is located at: data/common.inc.php

3. Change domain name resolution

Enter the domain name resolution management office of the domain name service provider to modify the resolution record, bind the domain name to the new space address, and then go to the server or host control panel to bind the domain name to the current space.

4. Upload website program

Upload the packaged website source code to the root directory of the website with FTP (if it is a server, it can be uploaded directly to the root directory of the website), and then unzip it. The browser accesses our domain name/install/index.php to reinstall the dream website. If the original website has no backup function in the background, you need to import the previously exported database to the current database through the database import function of the host or server.

5. Restore Database

After installation, log in to the background - system - restore the database - select all - click Start to restore the database - click Generate after restore - update the website with one click - generate the home page, and our website relocation is complete. As shown in the figure:

  How to move from the php website to the dream website

So far, the relocation of the website has been completed. If you have any questions, please contact Kehu Network Assist.

Related news

Website Style

contact us

thirteen billion nine hundred and twenty-two million one hundred and nine thousand five hundred and seventeen

seven hundred and forty-nine million eight hundred and forty-three thousand four hundred and eighteen

kehu56@126.com

:9:30-22:30

 QR code