More than one Joomla site - how is it done?

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 1:52 am

I created a Joomla site using MAMP. It is not hosted yet and doesn't have a domain name. I am just testing Joomla out with it but I might use it as my website later and get hosting for it and so on.

I want to test out another Joomla website by downloading one of the free templates that are out there. I wonder how I can do this? Is it a matter of just creating another database on MAMP?

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28204
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: More than one Joomla site - how is it done?

Post by imanickam » Mon Apr 02, 2012 2:00 am

What you could do is:

(a) Under the directory that your domain localhost points to (Usually, this would be htdocs, public_html, or www), create a directory (say second_site)
(b) Install Joomla! in the new directory - You could create a new database for this
(c) You could then access your new site by typing your domain/second_site
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

Re: More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 4:07 am

Thanks for the reply.

This is the address of the current site:

http://localhost:8888/Joomla_mysite/index.php/homepage

I think I am supposed to find the directory in MAMP?

I opened MAMP in a browser and this is the window that I get:



Image



And when I click on phpMyAdmin, I get this window:




Image

Can I type a new name in the database field and will this allow me to create a new Joomla site?

Will it have a localhost:8888 address or a localhost: 8889 address or does that not matter?

And if I downloaded a free Joomla Template zip package, can I install it after I've installed the new Joomla?
Last edited by Honeybear on Mon Apr 02, 2012 4:30 am, edited 3 times in total.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28204
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: More than one Joomla site - how is it done?

Post by imanickam » Mon Apr 02, 2012 4:26 am

From the URL you have provided, it looks like you have currently installed Joomla! in a directory Joomla_mysite. For the second site, create a directory parallel to this directory.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

Re: More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 4:36 am

Sorry, I don't understand this as I am not good with computers and installing websites. I use a Mac by the way. I don't know whether that makes any difference. I installed Joomla following the directions at this link (for macs):

http://www.joomlatraining.com/newslette ... -on-a-mac/

Actually, when I read the link again, it says:
Copy/move the downloaded version of Joomla 1.5 to your Applications/MAMP/htdocs directory and unzip the file. Leave a copy of this zip file in the htdocs directory for easy creation of multiple Joomla sites ... just unzip the file each time you wish to have a new Joomla installation!
I did leave a copy in the htdocs directory. So can I just unzip this file and what will happen next? Just follow Step 7 of the instructions?
# Rename the unzipped folder to mysite (or whatever you wish).
# In your broswer navigate to http://localhost:8888/mysite (or whatever name you gave your directory).
I guess I should call it a different name to the first site. (I guess this is the parallel site you refer to.)

So I suppose when I want to access the different Joomla sites I just type the different addresses in the browser window.

Thank you for your help, imanickim. I will try it now.

Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

Re: More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 4:41 am

I don't have to create a new database do I? Or should I?

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28204
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: More than one Joomla site - how is it done?

Post by imanickam » Mon Apr 02, 2012 4:44 am

In a localhost, database should be created automatically when you give a different database name during the installation. If it does not, create the database and then use that database.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

Re: More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 5:16 am

I created a second site but it doesn't look or operate the same. For example, I can't access the backend.

Image

I did create a new database.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28204
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: More than one Joomla site - how is it done?

Post by imanickam » Mon Apr 02, 2012 5:23 am

Congratulations!

I notice that you have installed Joomla! without Sample Data and I believe that is what you want.

You could access the back-end of this site by typing the following in your browser's address bar.
http://localhost:8888/[i]your-second-si ... ctory-name[/i]/administrator
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

Honeybear
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Tue Mar 20, 2012 10:29 am

Re: More than one Joomla site - how is it done?

Post by Honeybear » Mon Apr 02, 2012 5:32 am

The third time, I did not create a new database in MAMP, and also I installed the sample Joomla data set (as recommended), and I was able to create a fully-functioning clean new site like the other one.
I notice that you have installed Joomla! without Sample Data and I believe that is what you want.
Thank you, I just saw your comment after I posted mine. I agree that was the mistake.


Locked

Return to “Installation Joomla! 2.5”