October 9, 2010

Installing WordPress

1. Create a sub domain.

Login into c-panel on your server and click the sub-domain icon.
Name your sub-domain dev, so it will be

A folder will automatically be created in public_html directory


2. Create a MySQL database.

Go to MySQL wizard in c-panel and create a new database.
Give it a name and choose a username and password

The database and username will be prefixed by your server name
database name: johnsmith_dev
username: johnsmith_dev


3. Download WordPress 3.0

Extract the files and open the file wp-config-sample.php

You will see this bit of code at the top.
Enter your database/username/password details here.

/** 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');

Now save the file as wp-config.php (deleting the -sample)
Trash the old wp-config-sample.php


4. Using an FTP program like Cyberduck navigate to your dev directory.
Upload all those WordPress files into the dev folder. Its about 7Mb


5. Now you need to complete the WordPress install.

Launch your browser and goto

You will see a WordPress welcome screen asking you to name your blog, choose a password and enter an email address.

Click the install button.
You now have WordPress installed in a development directory on your server.


No comments: