How do I set up 2 websites on Host Gator ?

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
rodspri
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Apr 14, 2013 9:09 pm

How do I set up 2 websites on Host Gator ?

Post by rodspri » Tue May 21, 2019 3:53 am

I have uploaded the Joomla zip file to public_html.

I want to have 2 websites with my host. For example, lets say 'site1' and 'site2'.

I have created databases and usernames for 'site1' and 'site2'.

What steps do I take regarding unzipping and setting up Joomla (& creating directories ?), considering I want to have 2 websites with my host ?

Thanks,
Rod

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19529
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: How do I set up 2 websites on Host Gator ?

Post by leolam » Tue May 21, 2019 6:45 am

Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

rodspri
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Apr 14, 2013 9:09 pm

Re: How do I set up 2 websites on Host Gator ?

Post by rodspri » Tue May 21, 2019 1:16 pm

Thanks for the response.

I'm still not 100% clear on the appropriation of the Joomla package. Does each folder need it's own Joomla ?

MAIN QUESTION : Do I need to - 1) unzip&install Joomla into public_html, 2) create the Addon Domain through the control panel, AND 3) unzip&install Joomla into the Addon Domain folder ?

I imagine it would look like :

public_html/Joomla files
AND
public_html/addon_folder/Joomla files

i.e. Do I need to unzip&install Joomla into public_html and ALSO unzip&install into the Addon Domain folder ?

Thanks,
Rod

FOR CLARIFICATION:

Do I first unzip&install Joomla into public_html, then follow the steps for :

" To Create an Addon Domain:
Login to your cPanel and click Addon Domains, under Domains. There are three fields cPanel asks for when creating an addon domain: ... "


and I'm done.

OR do I :

- unzip&install Joomla into public_html
- Create the Addon Domain and then unzip&install Joomla into the addon folder ?

User avatar
sozzled
Joomla! Champion
Joomla! Champion
Posts: 7150
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: How do I set up 2 websites on Host Gator ?

Post by sozzled » Tue May 21, 2019 6:40 pm

rodspri wrote:
Tue May 21, 2019 1:16 pm
Does each folder need it's own Joomla?
Yes or, to put it another way, each [Joomla] website should be located within its own separate folder and each website should use its own database.

rodspri wrote:
Tue May 21, 2019 1:16 pm
Do I need to ... create the Addon Domain through the control panel?
Not really a Joomla question but the answer is, yes, you use your webhosting cPanel to create add-on domains. You assign each add-on domain to the folder used by each website (see my earlier answer) using your webhost's cPanel utilities.

rodspri wrote:
Tue May 21, 2019 1:16 pm
I imagine it would look like :

/public_html/Joomla files
/public_html/addon_folder/Joomla files
Basically, that's something like what I would do. For example, if you have two websites (called site1 and site2), then I would create two folders under the /public_html file structure:

/public_html/site1
/public_html/site2

(Nice and simple.) Then I would associate site1 with your primary domain and site2 with your add-on domain.

Then, for each folder, you will install Joomla.

So, if you have uploaded the J! installation package to each folder (like this):

/public_html/site1/Joomla_3.9.6-Stable-Full_Package.zip
/public_html/site2/Joomla_3.9.6-Stable-Full_Package.zip

You can then unzip and install Joomla for each website. There are a couple of ways that you can unzip the files (and then install Joomla after doing that) but I found the easiest way is to upload Akeeba Kickstart (to each folder) and use that to unpack and install the files. You may like to search the internet for a video tutorial that shows you how to do that (e.g. Create a new Joomla website in less than 15 minutes).

I hope this helps.
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?


Post Reply

Return to “General Questions/New to Joomla! 3.x”