How to move a website

Source: Internet
Author: User
Tags mysql host

1, the premise: Prepare two server IP address and FTP account and password, a similar FLASHFXP FTP tool, Database account password

2, the process: A first on the old server to the Web site folder in the Web page files compressed into a compressed file, and then use the FTP tool to download to the local, and finally use the FTP tool to log in to the new server upload and decompression.

B back up the database files on the old server and export the SQL files, download them locally, and import the old server's SQL files on the new server.

If it is WordPress, to this step, your site and the database is not connected, because the database information on the site is still an old database, you must also modify database name, password and other database information. Using the FTP tool: FlashFXP find the wp-config.php file in the root directory of the Web site, the database information is within this file. Edit wp-config.php, the code starts at 17 lines, replaces the database name, MySQL database user name, MySQL database password, MySQL host for the current database information. After the modification is complete, the database transfer work is completed successfully.

C binding and resolving domain names

How to move a website

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.