Move Your WordPress Site to HostNine
Posted by on 13 November 2013 03:52 PM
|
|
For this guide we're going to demystify WordPress a little bit and show you how easy it is to move a WordPress installation from your current host to HostNine. You'll gain an understanding of the basic components of WordPress and see how moving the site is nothing more than a series of simple steps. Let's dig in! Note: this tutorial does not apply to sites hosted at WordPress.com. It only applies to sites that run on a standalone version of WordPress as found at WordPress.org. If your current host is a cPanel host, the easiest thing to do is to allow one of our talented Tech Support Ninja's take care of it for you. Just open a ticket and they'll get it moved over for you. WordPress is really nothing more than a collection of properly placed files supported by a MySQL database. All we're going to do is move the files and the database and then tell WordPress where to find the database. For the guide, we're going to use a fictitious site with a domain name of 'yourdomain.tld', where 'yourdomain' is the beginning part of your site's URL and '.tld' is your '.com' or similar. Backing UpTo back up the site, we're going to use a WordPress plugin called 'WP-DB-Backup' to get a copy of the database, and then use an FTP program to copy the site to your computer. To start backing up your site:
We'll need to know the directory path where the backup is stored when we go to restore the database. FTPing the FilesNow we need to use FTP to download all of the files, including the database backup which is now stored in a file. A good FTP program to use is Filezilla, which you can download at https://filezilla-project.org. Note: to learn more about how to FTP, where to get to your FTP, and more check out our other Knowledgebase tutorials on FTP here. To get started FTPin':
Uploading to Your New cPanel AccountWe're getting there! It's time to configure your FTP program for your new cPanel account and get logged in. Note: if you run into a snag on this step, please open a ticket and we'll be glad to get you logged in.
Creating and Importing the DatabaseWe've got the WordPress files moved. Next we need to create a new database in cPanel and import your WordPress database.
If it succeeded, great! Let's move to the next step. We're almost done. If not, go ahead and open a ticket with our Tech Support Ninja's and they'll ha-cha! the database into place for you. Hooking It All Up TogetherThe last step is to tell your WordPress installation about the new database details. For that we're going to use cPanel's own File Manager.
/** The name of the database for WordPress */ define('DB_NAME', 'youruser_wordpress');
/** MySQL database username */ define('DB_USER', 'youruser_wpuser');
/** MySQL database password */ define('DB_PASSWORD', 'aso+rocks!!');
/** MySQL hostname */ define('DB_HOST', 'localhost'); You can also close the File Manager and any other cPanel windows. We're done! That's it. Your site is ready to go. Once you point your DNS at your account at HostNine, your site will be live. If you need a hand making any of this work, do not hesitate to contact our Tech Support Ninja's. We want to make sure that your move to HostNine is a smooth one.
See also Login URLs You Need to Know, FTP Access, Make a cPanel Account Backup, Set Up cPanel MySQL Database and User | |
|