Proper WordPress site Hosting Procedure

  1. Note your login details from your Client Area.
  • Your FTP Details
  • Your MySQL Details
  1. Create a database for your WordPress site on your hosting Control Panel (choose MySQL Databases).
  2. On your localhost, login to your local phpMyAdmin. Then export your WP database.
  3. On your hosting Control Panel, login to your hosting phpMyAdmin (see image on Step 2 above). Then import your exported-WP database (from Step 3).
  4. On your localhost, prepare your WP files.
  • Edit wp-config.php file:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'epiz_xxx_xxx' );

/** MySQL database username */
define( 'DB_USER', 'epiz_xxx' );

/** MySQL database password */
define( 'DB_PASSWORD', 'xxx' );

/** MySQL hostname */
define( 'DB_HOST', '' );

Matched them with your MySQL Details (from Step 1 & 2).

  • Add new configuration on wp-config.php file:
define( 'WP_SITEURL', 'http://YOUR_DOMAIN' );
define( 'WP_HOME', 'http://YOUR_DOMAIN' );

(Optional) Change http:// to https:// if you already install SSL certificate for your domain.
Add them before this line:
/* That's all, stop editing! Happy publishing. */
6. On your computer/device, using a FTP client/software (e.g.: FileZilla), login to your FTP hosting server (using FTP Details from Step 1). Then upload your local WP files to your htdocs folder of your domain on your hosting.