Installing Multiple WordPress Blogs

This post would apply to anyone having a shared hosting having php, mysql and a database creation facility on any web host. I thought this article would be useful for newbies in wordpress development. I had already a blog installed on my portfolio website and since I was developing wordpress websites for my clients I wanted to have another wordpress testing site on my website server. Godaddy had provided me with 10 databases & I could surely spare one more for wordpress testing.

Steps for creating multiple wordpress blog site

Step 1: Go to http://www.wordpress.org and download the latest wordpress application. Here is the link http://wordpress.org/latest.zip

Step 2: unzip it to a folder.
Step 3: Now if you already have a wordpress installation on your host server……….check its name directory. Create another directory with a different name say “wordpress_testing”.
Step 4: Use a FTP program (I use FILEZILLA……….its free & available at http://filezilla-project.org/, download filezilla client (All platforms).) and copy the all files and folders in the root to the folder “wordpress_testing”.
Step 5:Now you will need to create a database. This is importatant infomation and you need to note this information for your future reference.
Locate the “mysql” button in your control panel and click on it. You will see “MySQL” control panel. Click on “Create Database” button on the right hand side.
You will be required to fill the following information:

Database Description:

Mysql Database/Username: (On Godaddy it prompts you to have a unique database name, so you may need to try some combination of names)

Password

Step 6: After the database setup is completed, You will need some information about the database created. In godaddy, click on the edit button in the row of the database created. Its an icon showing a pencil.

Step 7:  On Godaddy you will land on the “Database Information” page. You will require the “Host Name”, “Database Name”, “User Name” and the “Password” which you filled while creating  the database. This is important information and note it down. (Check on this later: If you are into testing or plain blogging you may want to save yourself the trouble of typing the username and password. I suggest you install “LASTPASS” extension in chrome. It will automatically fill in feilds for you. Here is the link http://www.lastpass.com.)

Step 8: You have already unzipped the wordpress application in a folder. Open the folder and you will notice in the root a file by the name “wp-config-sample.php”. Rename it t0 “wp-config.php”. Now change the following in the file:

Insert the name of the database for WordPress in place of xxxxxxxxxxxxx

define(‘DB_NAME’, ‘xxxxxxxxxxxx’);

Insert MySQL database username in place of xxxxxxxxxxxx

define(‘DB_USER’, ‘xxxxxxxxxxxx’);

Insert MySQL database password in place of xxxxxxxxxxxx

define(‘DB_PASSWORD’, ‘xxxxxxxxxxxx’);

Insert MySQL hostname in place of xxxxxxxxxxxx

define(‘DB_HOST’, xxxxxxxxxxxx);
Use FTP to now copy this file to your server.

Now just a few last steps:

a. Go to your browser window and give the address of the folder in which you have wordpress application copied………in our case we have installed the files in folder “wordpress_testing”. Lets say our domain is “www.summerseason.com”. The you will need to enter in your browser:

http://www.summerseason.com/wordpress_testing/
If you have filled in all the information correctly would will be get a window asking for login information that you want to set for your wordpress account.

You can give a username of your choice &

You will need to give a password.

You will also be asked to give a email address that will be used to send your password in case you forget it.

Once you have successfully entered the above you will be prompted to login to wordpress.

b. Use the “username” and “password” you set above and you at last inside wordpress.

Thus you can now install more than one blog on your server, and use it any purpose.