Section: II
Level: Beginner - Intermediate
In the first section, we learned how to register a domain name and a host. In this section, we will take a look on how we can start having a website using that domain name and host.
The objectives of this section:
- Upload Wordpress
- Create a database
- Install Wordpress
By the end of this section, you should have a clear knowledge on how to install a Content Management System (CMS), in this case Wordpress but they all have very similar installation methods. Good Luck!
Before we even start downloading Wordpress, we have to upload two files to our host to make things work faster. The first file is called webadmin.php, you can download it from here , this will help us in uploading and editing pages on our website without having to log in everytime to the hosts file manager. The second file is pclzip, you can download it from here, this is a php library which will help us extract zip files. Extract the downloaded files if necessary and only upload the .php files, the rest are not important.
Now that you have these two files on your computer, we have to upload them to the host. The upload process is not the same with all the hosts, if you have any problems, contact the support team where you registered, they’ll send you the detailed process.
Lets make sure the upload was successful, try opening http://your-domain-name.com/webadmin.php . You should see something like this ![]()
Now that the host is prepared, lets start by downloading Wordpress. You can download it from here. Then open http://your-domain-name.com/webadmin.php , click on browse, select the wordpress zip file, and click on upload. It will take some time depending on your connection.
Once the file has been successfully uploaded, go back to your webadmin panel, create a new file, call it unzip.php, in the file, enter the following:
<?php
require_once(‘pclzip.lib.php’);
$archive = new PclZip(‘wordpress-2.2.1.zip’);
if (($v_result_list = $archive->extract()) == 0) {
die(“Error : “.$archive->errorInfo(true));
}
echo “<pre>”;
var_dump($v_result_list);
echo “</pre>”;
?>
The wordpress package is named after the version, in this case it’s wordpress-2.2.1.zip, replace that with the version you download! Save the file, now we have to execute it, to do that, go to http://my-domain-name.com/unzip.php
We still have one thing left to do to finish the installation, we have to create a database for it, log in to your hosts panel, in my case it’s godaddy and I took a snapshot on where you should click, check it out: ![]()
Fill in the information, here’s another sample:
It takes around 5 minutes for the database to be ready, once it’s done, under action, click on the pen, this will show us the details, select the host name and right-click, copy.
Now enter your domain name, http://my-domain-name.com and you will see the wordpress installation pages, fill them as you want, when it reaches the database info, fill them with the values you created when creating the database, this is for the example database I made:
The name of the database: myusernameThe MySQL database username: myusername
The password of the database: qwertY123456
The database host (in some cases..): h50mysql1.secureserver.net (paste the hostname you got from the details of your database)
Once the installation is complete, it will give you a username and password, write that down somewhere.
Now you’re all set up! You got wordpress installed, congrats!
I recommend you delete webadmin.php or rename it to something not obvious such as qwepoi57601.php so that other people don’t delete your files, I also recommend you delete the unzip.php, because if someone executes it, it will overwrite your files…
Next week we’ll see on how we can write posts, how we can enable and filter commens from spam using akismet, how we can make the website search engine friendly.
Stay tuned! Let me know if anything is unclear

