Steps to Setup Magento Multi-Stores

Uploaded on

Magento Multi Store Development | Magento Development India

Magento Multi Store Development | Magento Development India

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Steps to Setup Magento Multi-Stores
  • 2. Multi-store functionality is considered to be one of the greatest capabilitiesof Magento. So, in this presentation we are going to discuss the oneadvanced functionality of Magento, Multi-store. How you can add andmanage multiple stores on your Magento website, we will show you in thispresentation cum tutorial.Magento Multi Stores functionality powers you to add numbers of storeswithin single Magento installation. This can be very useful if you are going tosell products on different domains sharing single admin panel. You can keeptrack of your sales and customers without having login to the admin of eachwebsites.For this example, we’ll be attempting to set up, domain2.comand, Magento is installed into the folder /var/www/http, according tothe Magento Installation Guide. We’ll be dividing process into the stepsbased on the areas of configuration we will need to deal with–namely,Categories, Store Configuration in Magento Admin, and Store Configurationin the Server.
  • 3. Step 1: CategoriesFirst of all we need to create categories. As all three websites will besharing the same catalog, we will be using the default root category inCatalog -> Categories -> Manage Categories and this will be creatingcategories under the root category (i.e. electronics, clothing etc.).These categories (Clothing, Electronics) should be set as both “Is Active”from the General Information tab and “Is Anchor” from the DisplaySettings tab for them to appear on the frontend of your Magento shop.(NOTE: If the websites will not be sharing the same catalog, a RootCategory must be created for each website. Thus, if there are 3websites, there will be 3 Root Categories with subcategories under them.)
  • 4. Step 2: Store configuration1. Well, we have created our Categories, now it’s time to create websitesby going to System -> Manage Stores and clicking the “Create Website”button.Name – domain name of our new websiteCode – a parameter that will be used in configuring the Apache web server to pointto that particular domain name
  • 5. 2. Once the website is created, we will create the store corresponding tothis website by clicking on the “Create Store” button in System -> ManageStores.Website – website to which this store will be associatedName – the same as the website nameRoot Category – the root category that will be used for this store. (Refer to Step 1for Details)
  • 6. 3. Now, we create the store view which is the interface that the customerwill be able to access on the frontend. Click the “Create Store View”button in System -> Manage Stores.Store – store to which this view will be associatedName – name of this store view (i.e. English Version, German Version, etc.)Code – code for this store viewStatus – if enabled, this store view will be accessible from our frontend, otherwise,it will not be accessible
  • 7. 4. After the Store is created, we need to configure the Unsecure Base URLand Secure Base URL under System -> Configuration -> General ->Web. Before we set their respective base URLs first we need to confirmthat the configuration scope is set to the website to definewhich site we are working on.Then, we modify the base URLs for both Unsecure:and Secure:
  • 8. with the corresponding domain name by un-checking the ”Use default [STOREVIEW]” checkbox and then click on save the configuration button .5. Now just repeat Steps 2-4 for the other two websites, by replacing the fields with their respective information.
  • 9. Step 3: Store Configuration in the Server1. Now we re-configure the Apache configuration file, httpd.conf, for alldomains to set the DocumentRoot to our Magento directory. In thiscase, the directory is /var/www/http<VirtualHost *:80>ServerAdmin webmaster@domain1.comDocumentRoot /var/www/httpServerName</VirtualHost><VirtualHost *:80>ServerAdmin webmaster@domain2.comDocumentRoot /var/www/httpServerName</VirtualHost><VirtualHost *:80>ServerAdmin webmaster@domain3.comDocumentRoot /var/www/httpServerName</VirtualHost>
  • 10. 2. Edit the .htaccess file at /var/www/http/.htaccess and add the followinglines below:SetEnvIf Host MAGE_RUN_CODE=domain1_comSetEnvIf Host MAGE_RUN_TYPE=websiteSetEnvIf Host ^ MAGE_RUN_CODE=domain1_comSetEnvIf Host ^ MAGE_RUN_TYPE=websiteSetEnvIf Host MAGE_RUN_CODE=domain2_comSetEnvIf Host MAGE_RUN_TYPE=websiteSetEnvIf Host ^ MAGE_RUN_CODE=domain2_comSetEnvIf Host ^ MAGE_RUN_TYPE=websiteSetEnvIf Host MAGE_RUN_CODE=domain3_comSetEnvIf Host MAGE_RUN_TYPE=websiteSetEnvIf Host ^ MAGE_RUN_CODE=domain3_comSetEnvIf Host ^ MAGE_RUN_TYPE=website
  • 11. 3. Restart Apache ServerIf you are on a Red Hat based distribution, you’ll be able to type serviceapache restart. For other distributions, you’ll want to type apachectlrestart.(NOTE: The second option here is different than “apachectl graceful” whichwill run a graceful restart and reload configuration files, withoutterminating current connections. We don’t have any visitors to our siteyet, so it’s okay to do a “apachectl restart.)
  • 12. Step 4: Here we are ready to Go!After we’ve completed all of these steps we should now see all 3 domainsin our backend:All that’s left now is to add products to the catalog and give each site acustom theme if you want.
  • 13. Many web owners are taking advantage of Magento’s incredible multi-store functionality,whether it’s to set up stores with multiple languages, different catalogs and even the samecatalogs with different themes.Without any doubt, Magento is most powerful ecommerce web developmentplatforms. No other ecommerce development platform can beat Magento interms of functionality and serviceability. Magento as ecommerce is incredibleand most sought-after platform.Just with single Magento installation one should have control over multiplestores from single admin panel which is really considerable.Website with a huge amount of data, products and categories wouldobviously bother users to find their desired products. We need to thankMagento Ecommerce Development because it has solved this problem bycoming up with this exciting multiple store management functionality using asingle admin. With this amazing feature functionality, retailers can easily crafttheir business in more bespoke manner.When it comes to Magento Ecommerce Development, companies like KGN Technologies truly standapart in the crowd because of their incredible services and familiarity with the way to successfulMagento Ecommerce Development solutions. Technically skillful Magento Developers of KGNTechnologies are known for developing solutions abide to industrial standards in the form ofastonishing and dominating Magento store for you.