Knowledge Base
Back
Subject: WordPress Installation
Article #1001


This article is being provided as a courtesy to customers wishing to install the WordPress blog application on their CrystalTech shared hosting plan.

While this article is intended to be informative and assist in the installation process, it is important to note that this software is considered third party and is not directly supported by CrystalTech. Any specific questions regarding the application itself should be directed to the support page available from the WordPress website at http://www.wordpress.com/support.

Before the WordPress software can be installed, there are some prerequisites that must be met regarding your CrystalTech account to ensure compatibility with the software. In all cases, PHP and MySQL must be supported under the plan in which you wish to install WordPress.

If your plan meets these criteria, please refer to the installation notes below. However, if you are unsure if your plan meets these requirements, please refer to the plan details available on our website. You may also contact us directly if you require assistance identifying a compatible plan.

WordPress Installation
1. Acquire the WordPress software, available at http://wordpress.org/latest.zip.

2. Extract the contents of the .zip archive to a folder locally on your computer.

3. Login to the WebControlCenter for the account in which you would like to install this software. Create a MySQL database by accessing Database -> MySQL -> MySQL Admin. There is no requirement on the name that you use for the database as it will be entered into the configuration of WordPress in the next step.

4. Within the directory in which you extracted the contents of the WordPress files, edit the "wp-config-sample.php" file to reflect the database details you created in step 3. Only the first 4 entries are required to create a working installation of WordPress.

The following is an example of the lines requiring modification for the installation:

define('DB_NAME', 'wordpress')
define('DB_USER', 'username')
define('DB_PASSWORD', 'password')
define('DB_HOST', 'localhost')

The first line will need to be updated to reflect the name of the database created in step 3.The second and third lines refer to the login credentials specified on the database created in step 3.The last line is the host name for the server that was assigned to host your database.

Once your database has been created, this information can be found under the Database -> MySQL -> MySQL Admin section of the WebControlCenter to the right of the database name. This is usually in the format of "MYSQLAxx.webcontrolcenter.com".

*** This next step is very important ***
5. Save the file that you modified in step 4 as "wp-config.php" instead of the original “wp-config-sample.php”.

6. Upload WordPress folder and all of its contents to your hosted account on CrystalTech via FTP.

7. Once uploaded, pull up the WordPress installation interface in your web browser with the following URL: http://www.domain.com/wordpress/wp-admin/install.php Be sure to replace "www.domain.com" with the domain or IP address associated with your CrystalTech account.

You should see the welcome menu for the WordPress installation interface and a link to begin the installation process. The following are the last steps involved with finalizing the WordPress installation.

8. Click the First Step >> Link. Supply a title and a valid email address for your web log and click the Continue to Second Step >> link. This is the final step, which creates the tables associated with WordPress in your database and supplies a password for administration of the application.

*** Important ***
The user is always "admin", however, the password is randomly generated at the time of installation. Therefore, it is very important to make note of it (this can be changed later). If, at any time, you forget or lose this password, it will be necessary to delete the tables associated with the WordPress installation and start over with step 7.

Be sure to make note of this password until you have time to change it. At this point, WordPress is now installed and a link is provided at the bottom of the last step to login and customize the application. Once logged in, you may click on the Users tab, click the edit option for the Admin User and change the password at the bottom of the page to suit your preference.

Please note that if you have any difficulty browsing the WordPress interface post installation, you may need to add the “index.php” file as a default start page for your site configuration. This can be achieved within the WebControlCenter within the IIS -> Default Pages menu.