WordPress website Change Eagle Host detailed operation

Source: Internet
Author: User
Tags mysql host cpanel import database wordpress database

See the previous purchase of the virtual host will expire, in the spirit of saving the supremacy of virtue, and colleagues to buy the Eagle host. Because the first time the configuration of the site is a friend to help, so now want to completely self-operation, after all, after all the blog maintenance or rely on their own. Let's learn how to replace the host with me!

The first step: familiar with the Eagle host Control Panel

The main familiar with the file, domain, database three pieces of content. In the familiar process can refer to the Webmaster Encyclopedia CPanel Introduction, link address: Http://www.zzbaike.com/wiki/Portal:cPanel

Step Two: Additional domain operations

After you are familiar with the control Panel, add the following blog's domain name (Buy Eagle Host opportunity to bind a domain name, already bound to no longer attach domain).

After completing the domain name information, click "Add Domain".

Step Three: Build a new database and add new users

Go to the MySQL database and add a new database to prepare for the next operation.

Add a new user after the database is built.

The new user is then added to the newly built database.

By this point, the whole preparatory work has been completed. Next, make the most important site data transfer operations.

Fourth step: Back up the site data

Here are two ways of doing this:

First, the original host space files with FTP tools to download to the local, the original database export, as well as the article List export.

Second, using the installation wordpress plugin Backwpup, create a new plan, and then execute the plan, you can back up all data with one click. This method is convenient and quick to use.

Fifth step: Import the backed up data

1, upload files to the new host space with FTP;

2. Import the wordpress XML file

Upload after selecting a file

3. Import Database files

Select the database that you created earlier and import it. SQL file

Here, the entire data transfer work is complete. Next, make the final configuration.

Sixth step: Modify the worderpress configuration file wp-config.php
1 //* * MySQL Settings-specific information from the host you are using * *//2 3 /** Name of WordPress database*/4 5 Define(' db_name ', ' database_name_here ');6 7 8 9 /** MySQL database user name*/Ten  One Define(' Db_user ', ' username_here '); A  -  -  the /** MySQL Database password*/ -  - Define(' Db_password ', ' password_here '); -  +  -  + /** MySQL host*/ A  at Define(' db_host ', ' localhost '); -  -  -  - /** Default text encoding when creating a data table*/ -  in Define(' Db_charset ', ' UTF8 '); -  to  +  - /** Database grooming type. If you are unsure do not change*/ the  * Define(' db_collate ', ');
Seventh Step: Modify the IP address of the domain name is the current host server IP, here dnspod for example.

Now the host of the website has been replaced and completed.

After the finish, only to find: The original thought very complex things, as long as the intentions to do, it is quite simple.

Reprint please indicate source: http://www.cnpath.com/android-772.html

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.