Today I tried to run two wordpress blogs from the same domain name.
It is entirely possible and works like a charm.
The following are the steps to be used:
1. Download the latest version of WordPress.
2. Unzip the the WordPress files to a folder.
3. Make a second copy of this folder
4. Name the copies of the folder as say blog1 & blog2
5. In each of these folders you will need to create wp-config.php file.
6. To create this you need to edit the wp-config-sample.php file
7. The following items shown are to be edited:
define(‘DB_NAME’, ‘putyourdbnamehere‘); // The name of the database
define(‘DB_USER’, ‘usernamehere’); // Your MySQL username
define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
8. To edit the above you will need to first create your databases.
9. Create two different MySQL databases one for each blog in your domain. I’m assuming you have MySQL/PHP on Linux hosting. You will need to use the control panel provided by your web hosting service to create these databases.
10. Note down the parameters with which you set up the database and fill up the wp-config.php file suitably.
11. Upload the blog1 & blog2 folders to your domain to sit at http://www.yoursite.com/blog1 & http://www.yoursite.com/blog1
12. To setup the first blog start with http://www.yoursite.com/blog1/readme.html and follow the standard WordPress install procedure.
13. To setup the second blog start with
http://www.yoursite.com/blog2/readme.html and follow the standard
Wordpress install procedure.
14. Now you will have two different wordpress installations, two different databases and two different blogs.
15. The first blog will be at http://www.yoursite.com/blog1 and the second one at http://www.yoursite.com/blog2.
Have fun with your blogs.