I read and viewed all things related to multiple websites for Magento, but I still cannot setup properly to handle different domains with different Magento websites.
Could somebody let me know step by step, how to setup the virtual hosts properly and htaccess or/and index.php?
I know that setting multiple websites in subdomains/catalogs is easy, but I like it to work with different domains.
I have set up everything in Magento admin:
1st store:
- domain: abc.com
- website code: domain1
2nd store:
- domain: xyz.com
- website code: domain2
I have Apache configured in /etc/httpd/conf/httpd.conf
with the following document roots:
- /home/admin/domains/abc.com/public_html
- /home/admin/domains/xyz.com/public_html
What should I put in the second domain directory (.htaccess, index.php? should I copy it from first one?)