You probably have an idea for a news website, a travel blog, or even an ecommerce store. Well, WordPress may just be the right piece of software for you. While you can use a service like Fantastico to install WordPress almost automatically, it is always better to install a website from scratch and get to know the ins and out of it all. After all, if something goes wrong, you may just be able to fix the website instead of paying someone else to do it.
This guide will cover installing WordPress if you’re running a Windows machine, and your hosting package has CPanel. If you’re on Linux or Mac, the process is mostly the same with a few tweaks for uploading the files.
Before you begin, you’re going to make sure you have a few things on hand:
- The login details for your hosting package and CPanel
- Your website’s FTP details
- The WordPress package, which can be downloaded from https://wordpress.org/download/
- FileZilla, which can be downloaded from https://filezilla-project.org/download.php?type=client
Step 1: Making sure the software is ready
Find where you downloaded both FileZilla and the WordPress installation files. Doubleclick on FileZilla and follow the instructions to install it. You shouldn’t need to change anything while doing this.
Next, right-click on the WordPress .zip file and choose the extract option. Make sure to extract it to a folder that’s easily accessible so that it’s easy to find and is all in one place. Basically, don’t extract every file to the desktop as it’s going to be a mess.
Step 2: Transferring the files
The next part of the process is to transfer the files to your website. This isn’t going to actually create your website, but it’s laying the foundation. Think of this step as planting a seed in a ground, it’s not going to grow yet without a few more key ingredients.
You should have your CPanel login details on hand that you received from HOSTAFRICA. If not, be sure to contact us in order to get hold of the details. Now, log into CPanel. If you need to create a subdomain or put your website under a new folder, do that.
Use the following steps:
- Open FileZilla.
- Click on File and create a new account, using your website’s URL and FTP details.
- On the left-hand side, navigate to where you unpacked the WordPress files to.
- Select all of the files, right-click, and choose ‘upload’.
- If the software is going to www.yoursite.com as an example, and not a sub-domain, make sure its uploaded to the public_html folder.
- Once done, close FileZilla.
Step 3: Creating the database
Though you have all of the files on your server, ready to go, you’re still going to need a database. This allows your website to save information and is generally where WordPress stores all of its information, like authors and blog posts.
In CPanel, click on the database wizard. You’ll be asked to create the name of a database, which you can name whatever you want. Next you’ll need to create a user for it and a password.
You can name the user anything, but for the password, use the CPanel password generation system as it’s quite strong. Make sure to give the user full access rights to the database, and then save everything.
Your database is now complete.
Step 4: Setting up WordPress
Now it’s finally time to set up WordPress. Navigate to the name of the website and it’ll automatically open up the installation page. From here you’ll need to fill in the name of the database, the user, and the password. Where it says ‘host’, fill in localhost. Now, click on the next button.
On the next screen you’ll be able to create all the website’s name, tagline, as well as a user account for yourself. You’re free to fill in whatever you want. Once you’re done, that’s it. Your website is now up and running. In order to see the front of your website, enter the URL. To log into the control panel in order to create new posts, etc., navigate to ‘name of your site’/wp-admin and fill in the admin details.