Duplicating a Joomla Website on 1and1

The first place to look for general steps to make a duplicate copy (at another directory and URL) of an existing Joomla site is here – http://docs.joomla.org/Copying_a_Joomla_website

This is intended to be a shorter version of what’s described above with some specific steps for 1and1.

I’m working with a 1and1 linux developer account which means I have ssh access.  Make sure there are no changes being made to the site during this process.

1. Use the 1and1 admin interface to create a new MySQL database for the new website. This can take 5-10 minutes so start it now.

2. Copy source directory contents to target directory.
cd <src-dir>
tar cvfz <target-dir>/sourcefiles.tgz *
cd <target-dir>
tar xvfz sourcefiles.tgz

3. Make a backup of the existing Joomla sites MySQL database. Use the 1and1 phpMyAdmin tool to do an export.  I choose the default no compression option and saved the results to an ascii file on my local PC (good to have a backup of the db – it saved me work the first time I did this – see below). If you’ve never done this before, 1and1 has an FAQ on how to export and import MySQL databases using phpMyAdmin.

4. Import the database you just exported to the newly created MySQL db.
– Remove the “CREATE DATABASE” and “USE” lines near the beginning of the exported database sql file
– Start phpMyAdmin on the new database
– Choose the icon for the SQL query window in the upper left hand corner (see the online help if you can’t find this)
– Paste the exported sql from the source database into the window and hit Go
– Watch for the status of the import in the main browser window, you should see the number of lines executed

5. Critical first step to using your new site. Login to the new Joomla sites’ admin interface (http://<site>/administrator). Browse to Site > Global Configuration and change the MySQL parameters Hostname, Username, Password. If you don’t do this first, you’ll be editing the old sites database from the new sites admin GUI.

You now should be all set to use your new site.

JoomlArt Quickstart Template Install on 1&1 Servers

If you’re using the Joomla templates from JoomlArt they have quickstart versions of the templates which allow you to install your own copy of their demo version on your own Joomla server. If you’re not familiar with JoomlArt, check out their example templates here.

To view much of the information that follows and to download the JoomlArt templates, you’ll need to purchase a subscription with JoomlArt.  A description of the subscriptions options can be found here. I purchased the Standard Membership for $59/year.

User guides and instructions on downloading and installing the templates can be found in the JoomlArt forum for the template you’re working with.

Quickstart Install on 1&1

The Quickstart zip file for each template can be found with the rest of the downloads for that template (go to the main JoomlArt Templates Page, select the template you’re interested and then the Download link on that page). The install instructions for the JoomlArt quickstarts can be found here.

Unforunately, there’s a problem with the format of the quickstart zip files that does not allow you to un-zip them on linux servers.  Here are the steps I used to install the quickstart template:

1) Create a home directory on 1&1 for your quickstart JoomlArt site. You won’t need to install the standard Joomla bits from joomla.org.  Just leave the directory empty.  However, you will need to do the 1&1 setup steps described below – create the domain and a MySQL database.

2) Download the quickstart template to your PC. Note that JoomlArt quickstart templates are contained in a “quickstart” subdirectory inside of the template zip file that you download from their website. Within the quickstat subdirectory is another zip file (zip within a zip) that contains the quickstat files.

3) Un-zip the quickstart zip file to it’s own directory and make sure you maintain the folder structure during the un-zip.

3) Use FileZilla or another ftp program to copy the entire un-zipped directory structure to your Joomla site’s home directory.

Scratch and Reinstall Joomla on 1&1

It’s easier to do a new install.  With SSH access to your 1and1 account, here’s what I do (using the existing MySQL db which will be scratched).

1) Rename the directory (just in case I want it back)

2) Make another directory with the original name (the directory that your 1&1 domain is pointing to)

3) ftp the Joomla zip file to the root directory and un-zip it.

4) Browse to the URL and follow the normal installation instructions (see my blog entry on that) except that on the Database Configuration page, select the Delete existing tables option in the Advanced Settings.

Joomla Setup on 1and1

How to setup Joomla on 1and1 servers (assuming you have ssh access).

1) Login to your 1and1 admin page and create a new MySQL database for your new Joomla website (this will take a few minutes so lets start it right away).

2) Download the latest .zip from http://joomla.org

3) FTP it up to your 1and1 home directory.

4) SSH to your 1and1 account.

5) Create the directory that will host your Joomla site and copy the Joomla zip file to it.

6) CD to the home directory and unzip the Joomla zip file.

7) Go to the 1and1 domain admin page and setup a domain or subdomain for your Joomla site and set the home directory to the directory you created in the previous step.

8 ) In a web browser, go to http://<your-domain>, and follow the prompts until you get to the ftp step.

9) For the ftp, select Yes and enter your ftp login and password. The home directory should be /<directory> with the name of the directory you created two steps back. Click the Advanced box and set the FTP Host to the domain name you setup in the prior step. Click Yes to save the ftp password. Click the Verify FTP Settings and if it fails, try the Autofind FTP Path option.  Then, click Next

10) On the main configuration page, click “Install Sample Data”, then click Next and follow the remaining steps.

11) Create a file in the home directory of your site called .htaccess with a single line: AddType x-mapp-php5 .php

Here’s another take on setting up Joomla on 1and1 – http://sschill.wordpress.com/2010/01/12/installing-joomla-on-a-1and1-com-hosted-site-manually/

Joomla CoverFlow Module

While setting up a website for a friend, he really liked a sample template that had an iPod CoverFlow like feature to present photos – http://template15.joomlart.com/ja_labra/

JoomlArt Flowlist

The JoomlArt folks call their version of this feature JA Flowlist and it has quite a few nice features, including the ability to automatically start it in a slideshow-like mode.  However, it continues to frustrate me with IE – it won’t display correctly.  As a result, I started searching for other CoverFlow-like features for Joomla.

JoomlaNook Imageflow

The JoomlaNook Imageflow looks nice and has the auto-play feature that I also want. Examples can be found here.  Full details on Imageflow can be found here.  I don’t like some of the default css formatting and the module doesn’t allow you to change the css settings on the module parameters page but the css file can be modified directly at modules/mod_imageflow/css/imageflow.css.  I removed the yellow border and increased the size of the frame and background color to suit my needs.

I still like JA Flowlist better but until they can fix the IE issues (or tell me how to fix it), I think this is the one.

ENY Virtuemart Coverflow

I didn’t try the Virtuemart Coverflow because I didn’t see an auto-play feature and it looks like there is a fee for this module but it does look nice.


After spending a couple of weeks trying out Drupal I decided to give up on it as too complex and moved on to Joomla.  Joomla may not have as many advanced modules as Drupal but it has plenty for my needs and you can get a site going much more quickly.   http://joomla.org/

If you want to see what you can do with Joomla, take a look at their site showcase to get an idea – http://community.joomla.org/showcase/

There’s also plenty of free getting started documentation as well as books on Joomla.  http://docs.joomla.org/Beginners


After getting a basic install up and running with the sample site, I starting looking around for templates that I liked. There are plenty of free ones out there and I installed and tried out a few.  Also tried some I found on Bittorrent.  In the end, I settled on templates from JoomlArt, http://joomlart.com/joomla/templates/showcase. I bought their one year subscription with unlimited access to templates for $70.

For the subscription, you also get reasonably good support via the forums – http://www.joomlart.com/forums/forum.php.  One final reason to get the subscription is that the Userguides on how to install and customize each template are only accessible in the forum for each template.

I’m currently fighting some IE presentation issues using their Labra template with the iPod like CoverFlow feature (I’ve run into IE presentation problems with other templates – IE 7 & 8 are fussy) but everything looks good in Firefox or Chrome.  I’ve tried a couple of ideas from the Labra forum to fix this issue but they aren’t working for me and I’m getting no response on the forum after three days so I may move on to something else (can’t go without a solution that works for IE users).

The site I’m working on is http://ninostellari.com/. While there’s lots to like about JoomlArt, I found a slideshow module that I like better than the two JoomlArt slideshow modules.  The slideshow module I’m using on the Paintings page is Slimbox2 – http://www.digitalia.be/software/slimbox2.