- Create websites in Magento Admin (remember the codenames as they will be used later);
- Create Stores and Store Views to each website (you will need them for the final test);
- Configure {{Base_Url}} for each website ([will complement with images])
- Create hosts to your servers' IP address on your DNS Server (ex.: sample1.com, sample2.com);
- Access httpd.conf to create a VirtualHost for each Website (ex.:
DocumentRoot "c:\wamp\www" #Location to www or alias folder
ServerName sample1.com #Server's Domain Name for the WebSite
SetEnv MAGE_RUN_CODE "base" #Website/store codename
SetEnv MAGE_RUN_TYPE "website" #website/store
);
Now you should be able to access each frontend on each address.
No comments:
Post a Comment