Manually Install WordPress

SuzanneBuilding Websites, How To...4 Comments

Manually Install Wordpress

There will be times in your online career when you require your own hosting account. If or when you do so, I suggest you install WordPress Manually as this is the most secure installation.

By now you will have bought your domain and have created a hosting acount. If not do so now.

If you decide to install WordPress manually then this is the way to go.

Get Your Hosting Account

HostgatorHosting for your website is like an office for your business. It is where all the files for your website will be stored. Hostgator is a leading provider of web hosting, VPS hosting and dedicated servers. Out of the thousands of web hosts out there, it is my preference.

Get Your Hosting Here!


Once you have your hosting account, log into cPanel and look for your Name Servers.

Copy your nameservers (in notepad for example).

Point Your Domain

Now go back to Namecheap, click on your domain and then ‘Manage’ – change the default Nameservers to your new Hostgator Nameservers. Domain propagation can take anything from 2 – 48hrs.

Setting up Your Domain – My SQL Database

Go to your hosting cPanel and look for ‘Databases’ click on ‘My SQL’ then

Create a New Database – keep a note of your database name; it is usually yourhostname_databasename

Then go back to My SQL, scroll down and Create a MySQL User
yourhostname_username Keep a note of this

Create a secure password. After this you will be asked about permissions – grant all.

Next, back in My SQL, add the user you have just created to the correct database.

Adding Your Domain

Now, back in cPanel, go to ‘Domains’ and click on ‘Addon Domains’
Type your New Domain Name without the www. like this:
All the rest will automatically be filled in apart from the password.
Create a secure password and then add domain!

WordPressDownload WordPress

There are easier ways of installing WordPress but I’m going to show you how I do it. This is THE most secure way in my opinion!


Download WordPress!

When you have the WordPress zip file on your computer, unzip it.

Look for a file named wp-config-sample.php and rename it to: wp-config.php

Now open the wp-config.php (with notepad for example) and fill the following lines:

  • define(‘DB_NAME’, ‘database_name_here’); – Database Name (My SQL)
  • define(‘DB_USER’, ‘username_here’); – Your Database Username
  • define(‘DB_PASSWORD’, ‘password_here’); – Your Database Password

Now look for this part:

define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
define(‘AUTH_SALT’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘NONCE_SALT’, ‘put your unique phrase here’);

Click this link and copy the code you get to replace the code above:

Now save the new wp-config.php and drag it back into your WordPress folder.

Zip the WordPress folder.

Installing WordPress

Now go back to cPanel and look for ‘Files’. Click on ‘File Manager’ then select; Web Root (public_html/www). Upload the zipped WordPress file here.

Now go to your browser and type the FULL address of your domain like this:

You can go ahead and set up your site now.

About the Author


Facebook Twitter Google+

Want to learn how to build a business online? If so get in touch, I can help. I began working online in 2011 because I wanted the freedom to work when I wanted and to get away from being an employee. I've learned lots in that time and now work full-time from home online. With this website I aim to help others who also want to work from home and learn about the online world. Leave a comment in the box below or use the contact page on this website. You can also connect with me over at Wealthy Affiliate. Here is my profile link, Suzanne-SB's Profile at WA.

4 Comments on “Manually Install WordPress”

  1. Good to know you offer help for this besides providing the information. It can be a bit intimating if you’re not very computer savy. Going to check your site around some more before buckling down and giving it as go!

Leave a Reply

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