How To Install WordPress Manually on Your Web Hosting

How to install WordPress on your blog

Many web hosting providers nowadays offer a 1-click installation of WordPress on their hosting packages. If so, you don’t have to worry about creating databases and the files necessary for WordPress. All you have to do is click one button and follow along some simple instructions and you are all set up to go and start blogging. Dreamhost is a host we recommend that offers such an easy one-click installation

But what if you are unlucky and your hosting provider doesn’t provide an easy installation of WordPress? Well, then you have to manually install WordPress. If you have some technical expertise it isn’t too difficult a process, but if you don’t it can be quite cumbersome. That is why we have written this short guide.

But be aware, installing WordPress requires some basic knowledge. You have to be able to:

  • login to the control panel of your hosting provider
  • work with .zip files
  • use an FTP program (CoreFTP is a free program we recommend if you don’t have one)
  • create a MySQL database in your control panel (usually CPanel)

How to manually install WordPress:

Step 1: Download WordPress

  1. go to https://wordpress.org and download the .zip file
  2. unzip the file and save it in a folder somewhere on your computer

Later on you will upload the content of this folder with FTP to your website.

Step 2: Create a MySQL database

WordPress saves all its data to a database. That is why you need a database before you can start installing WordPress on your website.

  1. log in to the control panel of your website (usually this is CPanel)
  2. go to the section for MySQL databases
  3. create a new database
  4. create a user for this database
  5. link the new user to the database and give him full rights to the database

Once the database is created you will need all login data for it so make sure to take a note of the database name, username and password.

Step 3: Create and configure the wp-config.php file

In the main folder of the WordPress folder you downloaded earlier there is a file names wp-config-sample.php. Locate this file and rename it to wp-config.php and open it with a texteditor. Look for the following text in the file:

/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name_here‘);

/** MySQL database username */
define(‘DB_USER’, ‘username_here‘);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password_here‘);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

You have to replace the text we have marked in bold here with the data from the MySQL database you created earlier. In some rare cases you will also have to replace the text ‘localhost’ with the name of a MySQL server but this is almost never the case. Close the wp-config.php file and save it.

Step 4: Upload WordPress to your web host

  1. install an FTP program like CoreFTP if you don’t have one installed already
  2. find out which login and password you need to upload files to your web host. Usually your hosting provider has sent
  3. these when you created your account, or you are able to find these on your control panel.
  4. upload the content of your WordPress folder to the directory in which you want to install WordPress on your website (usually this the root directory)

Step 5: Install WordPress

  1. surf to your website (or to the directory in which you uploaded your files)
  2. you should see a page now “Welcome to the famous five minute installation of WordPress”
  3. complete the installation process and make a note of the administrator login and password you have to choose here
  4. login to your WordPress blog at http://www.YOURSITE.com/wp-login.php

As you can see, there are quite some steps to follow to install WordPress yourself on your web host. If at all possible register an account with a hosting provider that offers the easier option of installing WordPress with a simple click on a button. We recommend using Dreamhost for this, a very reliable hosting provider we like to use ourselves for some of our WordPress projects.

Good luck installing WordPress!

Leave a Reply

Your email address will not be published. Required fields are marked *