How to setup 2 Joomla sites on same server - mirrors

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
dfofanoff
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Apr 28, 2020 10:34 pm

How to setup 2 Joomla sites on same server - mirrors

Post by dfofanoff » Tue Apr 28, 2020 10:41 pm

Hi Everyone,

I haven't been able to find info on this setup anywhere.
I have a primary Joomla 3x site on a single server. I want to create a second site on the same server that mirrors the live site (content, templates, etc.) for development purposes.

I know how to install the second Joomla instance and sub-domain, but for the life of me I'm not able to copy / import the data etc. from the live site to the secondary mirror site so that my dev site mirrors the live site snapshot.

Any help would be greatly appreciated.
Thanks!

 
User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5647
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: How to setup 2 Joomla sites on same server - mirrors

Post by AMurray » Wed Apr 29, 2020 12:40 am

Copying a website is very easy and instructions can be found here: (don't know why you didn't find this...)
https://docs.joomla.org/Copying_a_Joomla_website - use the directions under the "Copying a website Common Method)"

The other options mentioned on the above are not more complicated, just time consuming. With FTP'ing files, and exporting/importing the database via phpMyAdmin.

You then reverse the process and roll-out your dev site to the production location. Of course, this is not the way to do routine updates such as updating content - you do that in the live site itself.

I assume the above is what you were looking for.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1577
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: How to setup 2 Joomla sites on same server - mirrors

Post by darb » Wed Apr 29, 2020 10:02 am

You can set up a Bash script that doing this and I know that Joomlapros (Joomlaproffs) have a script like this and you can contact them for info/help. https://www.joomlaprofessionals.com/nyh ... rdics-webb
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1577
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: How to setup 2 Joomla sites on same server - mirrors

Post by darb » Wed Apr 29, 2020 10:12 am

Or you can test a kind of multisite/staging Joomla extension to help you example.

StageIT
https://extensions.joomla.org/extension ... s/stageit/

Mighty Sites
https://extensions.joomla.org/extension ... ghtysites/
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben

helpwithjoomla
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Sat Sep 21, 2019 7:29 pm
Contact:

Re: How to setup 2 Joomla sites on same server - mirrors

Post by helpwithjoomla » Sun May 03, 2020 2:03 am

Adding to AMurray's suggestion:
Akeeba backup is a good option. With Akeeba you backup the first site and it grabs all your site files and database and exports it all into one file. Upload or move the Akeeba backup to the new server location and extract it. This is a good resource: https://1forwebsites.com/clients/knowle ... ackup.html

And darb has a good suggestion of StageIT. We've used and we like it.
Joomla Developers Available To Help With Joomla!
https://www.helpwithjoomla.com

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

Re: How to setup 2 Joomla sites on same server - mirrors

Post by leolam » Thu May 21, 2020 3:50 pm

The only good way is to use this extension: https://extensions.joomla.org/extension ... s/stageit/ (as Darb posted)

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

 

Post Reply

Return to “Installation Joomla! 3.x”