Magento is so flexible that one instance of it can have multiple websites/stores with different languages, domain names, categories, etc. You can configure the websites, stores, and store views in the Magento Admin. You use the
MAGE_RUN_TYPE
and
MAGE_RUN_CODE
variables in entry point scripts(index.php), .htaccess or Nginx configuration files(depending upon the webserver you are using) to start the Magento application using these websites or store views.
submitted by /u/MagePsycho
[link] [comments]