Installing multiple websites or blogs (WordPress and Joomla) on your computer is very simple with a free software. This is very useful if you want to practice blogging on localhost (PC) before launching your live site. Installing multiple websites or blogs on your computer comes with lots of advantages. It is foolproof of trying out how things work out. This method gives you an unlimited access to the blogging platforms. You can install WordPress and Joomla or both on localhost (your PC) FREE!.
With the steps below, you can install multiple websites and blogs that run on Content Management Systems (CMS). The two popular CMS are WordPress and Joomla. They are very easy to learn on localhost .i.e. on your personal computer. If you visit WordPress requirements site, you will see that we need a web server, a database, and PHP5 to run WordPress. A software, XAMPP will provide the necessary surface for the requirements.
Requirements For WordPress And Joomla Installation On The Computer
- A Personal Computer
- XAMPP Software
- Text Editor like Notepad or Notepad++. I prefer you use Notepad++. It is easier and offers more options than traditional Notepad. Please avoid using Microsoft Word or WordPad for post editing.
- A web browser.
Note: The procedures here are done on a Windows computer. There may be variations if you are running another Operating System.
STEP 1: Installing XAMPP
1. Download XAMPP software. Install it on your personal computer.
2. Open and run XAMPP software which you must have installed.
3. Turn on the servers by clicking start on the right of each item.
4. Create a Database:
A database is used to store all your websites contents. The database holds the contents of what you will be storing on your websites excluding themes and plugins. Follow these steps to create a database:
a. enter “localhost/phpmyadmin” on your web browser.
b. Enter any name in the “Database name” box and click on “create”. Please, note down the exact name you entered. This will create the database for the website.
5. Move to the next steps.
STEP 2: Installation Of WordPress Or Joomla On Your Localhost
Make sure XAMPP is running and active.
2. Unzip the WordPress folder and move the folder to “C:\xampp\htdocs“. (Navigate C: drive >> xampp folder >> open htdocs folder and Paste the WordPress folder).
Note: You can rename the WordPress folder to any name. Example rename the folder to “myblog”.
3. If it is Joomla, Create a folder with any name, say “myblog” and unzip all the Joomla files into the folder. Then move this folder, “myblog” to “C:\xampp\htdocs” as in Number 2 above.
4. Open your browser and enter on the address bar “localhost/(name of your moved folder)”. If you had changed the folder’s name, enter on the address bar “localhost/myblog”. If you didn’t change the folder’s name in number 2, enter “localhost/WordPress”.
5. Click on “let’s go!” on the screen.
6. Enter the name of Database you created in STEP 1 – Number 4 as “Database Name”.
7. Enter root as “Username”. Delete the “password” field. We will set a password later.
8. The “Hostname” is localhost. The “Table Prefix” should be anything alphanumeric with ending
underscore sign. Here we chose wp_. Click “submit”.
9. Click on ‘Run the install‘ for WordPress. Or ‘install‘ on Joomla. This will install the website.
10. Enter the “Site Title/Name”. This will appear as the name of your website.
11. The Username and Password here are very important. This is what you will be using to get access to your website. Write it down somewhere. If you choose a simple password, tick on ‘Confirm use of weak password‘.
12. Click on “Install”.
13. In Joomla, you can choose to install sample data. This will give you a pre-defined website with some features installed.
14. After installation in Joomla, you have to delete the installation directory. This is explained in the delete directory page.
15. Congratulations! You have a website.
STEP 3: Accessing The Front-End and Back-End of Your Website
The Front End is what the visitors see. It is what shows up when you or someone visits your site. You can get access to the front end by typing “localhost/(name of your moved folder)”. Here, ours is “localhost/myblog”. This will load your website.
The Back End is where you make core changes to your website. This is where you can install WordPress themes and plugins. Or Joomla Templates and Modules. To access the back-end of WordPress, type on your address bar “localhost/(name of your moved folder)/wp-admin“. For Joomla, use “localhost/(name of your moved folder)/administrator/“. Log in with the Username and Password you used in the course of creating the website. STEP 2 – Number 11.
STEP 4: Installing Multiple Websites And Blogs
In order to install multiple websites, you must create a new database. In fact, create a new database for any new website you will be creating. The website/Blog will be stored in the database. Let us create a new website, “My New Blog”.
Create a New database. This database will have a different name, say “mynewblog” as the name. Refer to STEP 1 – Number 4. (scroll up to see it.)
- Download a fresh copy of WordPress installation file or Joomla file. This is explained in STEP 2- Number 1. (scroll up to see it.)
- Unzip each file in a New folder and give it a different name. To be on a safe side, rename it to your blog’s name, say “mynewblog”.
- Copy/Cut the folder and paste in “C:\xampp\htdocs”. Explained in STEP 2 – Number 2. Make sure that the two WordPress or Joomla folders do not have the same name.
- Go to your web browser’s address bar and type “localhost/(name of the folder you recently created)”. Here, it is “localhost/mynewblog”.
- Follow the same processes in STEP 2 – Numbers 5 to 14.
Anytime you want to visit any of your websites, type on the address bar “localhost/(name of the folder in “C:\xampp\htdocs”). Follow STEP 3: Accessing The Front-End and Back-End of Your Website Above.