I installed XAMPP and Joomla! and everything works fine. Now I decided that it would be reasonable to have two local Joomla! websites to have more practice. How can I do that? It's pretty strange that there isn't much info on that. Where can I read about the way of creating one more Joomla! website using XAMPP?
It's relatively easy- you follow the same process as you do for installing a normal Joomla installation, but use a different subdirectory for each subsequent Joomla installation.
It's also a good idea to use a different database for each one, but I guess you don't have to provided the database prefix is different for each site you create.
Personally I don't like using
I prefer using a Virtual Host so everything is completely separated. The result would mean using domains such as:
It's a little bit of work to get set up, however the end result is far better.
We've compiled a few answer for different platforms which you can see below:
There is no answer specifically for Xampp, but one for Wampserver which I also prefer as it's more flexible in my opinion.
Why is using a Virtual Host better?
- It results in a cleaner URL structure
- Setting up permissions for each individual domain is possible
- Dealing with base URL's can sometimes with an issue with some applications or CMS's without a Virtual Host
- You can use different ports for each Virtual Host (advanced usage)
There are probably some more technical advantages but that's something a server administrator would be able to shed more light on
Hope this helps