title: Set envif Host Magento Multiple Stores
body: <p>I am trying to get a magento installation to run multiple websites I have completed most of the steps including a parked domain. However I am unsure as to how to answer the statement below:</p>
  
  <p>Easiest amongst these is .htaccess solution which requires you to define the following lines:</p>
  
  <pre><code>SetEnvIf Host .*myhost.* MAGE_RUN_CODE="base";
  SetEnvIf Host .*myhost.* MAGE_RUN_TYPE="website";
  </code></pre>
  
  <p>Simply ensure that .<em>myhost.</em> is a regex expression matching the domain for which you want to set environmental variables for.</p>
  
  <p>For example do my website is www.domain.com and also www.domain1.com, magento is installed on domain.com so for the host do I put .<em>domain.com.</em> and leave the run code and type and base and website </p>