following is a summary of the tasks you must perform. More details are provided in the sections that follow.
Define websites, stores, and store views in the Magento Admin.
Create one virtual host per Magento website or store view.
Pass the values of MAGE_RUN_TYPE and MAGE_RUN_CODE to the web server.