I am trying to install magento to run several websites on which I have completed most of the steps, including a parked domain. However, I am not sure how to answer the expression below:
The easiest solution is .htaccess solution, which requires you to define the following lines:
SetEnvIf Host .*myhost.* MAGE_RUN_CODE="base"; SetEnvIf Host .*myhost.* MAGE_RUN_TYPE="website";
Just make sure .myhost. is the regular expression expression corresponding to the domain for which you want to set environment variables for.
For example, my website www.domain.com, as well as www.domain1.com, magento is installed on domain.com, so for the host I put .domain.com. and leave the startup code and type and base and website
source share