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.
Get Your Hosting Account
Hosting 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.
Once you have your hosting account, log into cPanel and look for your Name Servers.
######.hostgator.com
######.hostgator.com
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: testsite.com
All the rest will automatically be filled in apart from the password.
Create a secure password and then add domain!
Download 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!
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:
https://api.wordpress.org/secret-key/1.1/salt/
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:
http://www.testsite.com/wp-admin/install.php
You can go ahead and set up your site now.
4 Comments on “Manually Install WordPress”
Great article, totally what I wanted to find.
Brilliant Sadye,
Glad you found what you were looking for.
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!
Hi Donna, If you do need some help then give me a shout.
regards
Suzanne