<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bitpost.com/w/index.php?action=history&amp;feed=atom&amp;title=Cloning_a_Joomla_site</id>
	<title>Cloning a Joomla site - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bitpost.com/w/index.php?action=history&amp;feed=atom&amp;title=Cloning_a_Joomla_site"/>
	<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Cloning_a_Joomla_site&amp;action=history"/>
	<updated>2026-05-09T08:00:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://bitpost.com/w/index.php?title=Cloning_a_Joomla_site&amp;diff=1701&amp;oldid=prev</id>
		<title>Admin at 18:51, 25 September 2006</title>
		<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Cloning_a_Joomla_site&amp;diff=1701&amp;oldid=prev"/>
		<updated>2006-09-25T18:51:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;   I&amp;#039;ve gotten far enough that i&amp;#039;m ready to clone it&lt;br /&gt;
        I need one for waves, one for spirit&lt;br /&gt;
        looks like i can do this:&lt;br /&gt;
&lt;br /&gt;
              copy the joomla directory&lt;br /&gt;
              copy the joomla database&lt;br /&gt;
              edit joomla_new/configuration.php&lt;br /&gt;
&lt;br /&gt;
              can that be all I need??  let&amp;#039;s test and see...&lt;br /&gt;
                  creating hollyspringswaves.com site&lt;br /&gt;
                  cp /usr/local/joomla /home/m/development/tdm_cvs_view/joomla-waves&lt;br /&gt;
&lt;br /&gt;
              signed up for hollyspringswaves.com&lt;br /&gt;
              at 1and1.com for $7/year including DNS mgmt&lt;br /&gt;
                 hollyspringswaves.com&lt;br /&gt;
&lt;br /&gt;
              waiting for reply email (m@thedigitalmachine.com)&lt;br /&gt;
&lt;br /&gt;
              updated configuration.php&lt;br /&gt;
                      $mosConfig_absolute_path = &amp;#039;/home/m/development/tdm_cvs_view/joomla-waves&amp;#039;;&lt;br /&gt;
                      $mosConfig_cachepath = &amp;#039;/home/m/development/tdm_cvs_view/joomla-waves/cache&amp;#039;;&lt;br /&gt;
                      $mosConfig_db = &amp;#039;joomla-waves&amp;#039;;&lt;br /&gt;
                      $mosConfig_live_site = &amp;#039;http://www.thedigitalmachine.com/hollyspringswaves.com&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
              once 1and1.com gets its act together i will update live_site&lt;br /&gt;
                   ok now they&amp;#039;re back, and hollyspringswaves.com is ready&lt;br /&gt;
                   went to do DNS management, there is only space for one A and one MX record, I added tho\&lt;br /&gt;
   se&lt;br /&gt;
                   looks like you have to ADD subdomains, and you are allowed up to 5&lt;br /&gt;
                         adding www.hollyspringswaves.com&lt;br /&gt;
                         now I can do DNS management, cool, just used the same settings&lt;br /&gt;
                   stupid me put in all my juicy details, including address and phone and m@thedigitalmach\&lt;br /&gt;
   ine.com&lt;br /&gt;
                          updated official DNS contacts to just have my name and city&lt;br /&gt;
&lt;br /&gt;
              now to clone the database... using phpmysql&lt;br /&gt;
&lt;br /&gt;
                  i guess i need to export, then import, hrmph...&lt;br /&gt;
                  exported joomla using all defaults&lt;br /&gt;
                       [x] include Autoincrement&lt;br /&gt;
                       [-] include complete inserts&lt;br /&gt;
                       [x] save to file&lt;br /&gt;
                  create new database joomla-waves&lt;br /&gt;
&lt;br /&gt;
                  oops, no need, i found &amp;quot;database copy&amp;quot; under &amp;quot;database-&amp;gt;operations&amp;quot;, GROOVY!&lt;br /&gt;
                  now it&amp;#039;s complaining that i haven&amp;#039;t added the tables that mysql wants&lt;br /&gt;
                      - no worries, that&amp;#039;s just for additional linking features of some kind&lt;br /&gt;
&lt;br /&gt;
                  copied to joomla-waves, looking good!&lt;br /&gt;
                  now set up a virtual host!&lt;br /&gt;
&lt;br /&gt;
                      cd virtualhosts&lt;br /&gt;
                      cp boxcarkid.conf hollyspringswaves.conf&lt;br /&gt;
                      xe /home/m/config/machine_globals.conf&lt;br /&gt;
                         add an include for virtualhosts/hollyspringswaves.conf&lt;br /&gt;
                      then set up hollyspringswaves.conf&lt;br /&gt;
                      well ok, i did it, time to DEBUG ( not like it&amp;#039;s going to work first try!! )&lt;br /&gt;
&lt;br /&gt;
   1&amp;amp;1 Name Servers are:&lt;br /&gt;
   ns47.1and1.com&lt;br /&gt;
   ns48.1and1.com&lt;br /&gt;
&lt;br /&gt;
   nslookup&lt;br /&gt;
   server ns47.1and1.com&lt;br /&gt;
   hollyspringswaves.com&lt;br /&gt;
   (that works fine)&lt;br /&gt;
&lt;br /&gt;
   adding hollyspringswaves.com to /etc/hosts&lt;br /&gt;
&lt;br /&gt;
   bouncing apache... failed&lt;br /&gt;
   needs this:&lt;br /&gt;
   mkdir /usr/local/apache/logs/hollyspringswaves.com&lt;br /&gt;
   whoooooooop apache started up!&lt;br /&gt;
&lt;br /&gt;
   it&amp;#039;s there!  but says &amp;quot;The site is temporarily unavailable.&amp;quot; and a &amp;quot;3&amp;quot;&lt;br /&gt;
        The number following the message indicates a database problem. The error number is generated by jo\&lt;br /&gt;
   omla/mambo and error numbers 1, 2 and 3 indicate the following:&lt;br /&gt;
        Error 1 = FATAL ERROR: MySQL support not available.&lt;br /&gt;
        Error 2 = FATAL ERROR: Connection to database server failed.&lt;br /&gt;
        Error 3 = FATAL ERROR: Database not found&lt;br /&gt;
&lt;br /&gt;
   Sounds like I need to set up PERMISSIONS for that new db, doh.&lt;br /&gt;
   where is the joomla mysql user specified... I think it is here in the configuration.php...&lt;br /&gt;
&lt;br /&gt;
   $mosConfig_user = &amp;#039;joomla&amp;#039;;&lt;br /&gt;
   $mosConfig_password = &amp;#039;*****&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
   changing to this:&lt;br /&gt;
&lt;br /&gt;
   $mosConfig_user = &amp;#039;joomla-waves&amp;#039;;&lt;br /&gt;
   $mosConfig_password = &amp;#039;*****&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
   and creating permissions with this:&lt;br /&gt;
&lt;br /&gt;
   mysql -u root -p&lt;br /&gt;
   GRANT ALL PRIVILEGES ON joomla-waves.* TO joomla-waves@localhost IDENTIFIED BY &amp;#039;*****&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
   (argee, you&amp;#039;ll need to add some single-tick quotes around each part of that)&lt;br /&gt;
   I ended up adding a global user in phpmyadmin, adding db rights, then revoking global rights&lt;br /&gt;
&lt;br /&gt;
   OK THAT DID IT!&lt;br /&gt;
   next, there&amp;#039;s no css, weird.&lt;br /&gt;
   and when I logged in i got a bad url - need to fix _live_site in configuration.php, that should fix it.&lt;br /&gt;
&lt;br /&gt;
   i logged in, said &amp;quot;bad password&amp;quot; but i was in - so i went to profile and updated password&lt;br /&gt;
     u      Coach Mike&lt;br /&gt;
     p      *****&lt;br /&gt;
&lt;br /&gt;
   IT IS LIVE!  ALL IS FULL OF LIGHT, whoop!!&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>