Magento Multiple Stores Setup with Different Look and Feel

Magento makes life easy by providing Multiple Stores. This setup can be done at any stage, even after the setup.

All the Magento Stores can be managed and shared from a single backend Admin panel.

We can also share all the customers between stores.

For this in each Store you need to create Web store in main Magento admin installation:

To do this Just login to Magento Admin panel as an Administrator.

Follow the below steps.

System –> Manage Stores  –> Create Website

Name:  Enter the name of the desired domain (“”) as shown in below.
Code : Enter identifier for that domain (“mex_com”)

Magento Multiple=

Next  go to:
System –> Manage Stores –> Create Store

Website: Select “” from dropdown menu.
Name:  Use same mex_com to identify same store.
Root Category: You can have different Categories for each website for now we will select ‘Default Category’

Magento Multiple=
To Create Another categories goto:

Catalog –> Manage Categories –> Add Root Category
You can add categories for the new website.

Now you need to setup Store View goto:
System > Manage Stores > Create Store View

Store: select “mex_com” from dropdown menu.

Name and Code enter “mex_com” Make sure to enter only smaller case, its Case Sensitive

Status: “Enabled”

Magento Multiple=

To setup Magento on different domains you need to update following two files:

You can find the below two sample file in magento home directory .htaccess.sample and index.php.sample. Just rename both sample files as below names,.

1) .htacces
2) index.php

Open “index.php” and modify line which begins with “$mageFilename” in Magento 1.4.1 it is on line no 45

$mageFilename = ‘magento_installation_path/app/Mage.php’;

And on line no 68:

$mageRunCode = isset ($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ”;

Replace with:

$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ‘mex_com’;

To Setup a Different Look and Feel or Theme

You need to update media, skin and javascript file.

We can copy these files from the previous installation to new domain, We can also set this from Magento admin panel:
System –> Configuration –> Under Current Configuration Scope: select your website/store from dropdown (“mex_com”)

Magento Multiple=

Click on Web and under Secure and Unsecure you need to modify:
If this is on same folder then no need to modify anything

else modify the below.

Base Skin URL (example:
Base Media URL (example:
Base JavaScript URL (example:

Magento Multiple=

You are done now. This is how we create multiple stores on magento.

If you need any further clarifications / assistance

Enter your email address:        Delivered by FeedBurner

Magento Features Professional. Shopping cart expert

4 Responses to “Magento Multiple Stores Setup with Different Look and Feel”

  1. Marc says:

    Hi Stalin to do it but seems not working anymore with magento 1.5 final, already redirected to the default url :s Do you have an idea ?

  2. Stalin Cruz says:

    Marc I followed the above for Magento It worked gr8. Its working same as its working for, where are you facing problem

  3. John says:

    Great info, but it is not working!
    I am using Magento

Leave a Reply