سؤال

I wanted to try creating multiple stores and storeview. I am following this tutorial http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_websites.html They have asked me to create a virtual host! how should I do this?

هل كانت مفيدة؟

المحلول

Please check the Apache folder in XAMPP for Configuration of Vhosts.

File Path :

f:/xampp/apache/conf/extra/httpd-vhosts.conf

FYI: I have installed XAMPP in my F: drive

uncomment the Following lines and edit the vhosts entries as you need

##<VirtualHost *:80>
    ##ServerAdmin webmaster@dummy-host.example.com
    ##DocumentRoot "F:/Projects/htdocs/dummy-host.example.com"
    ##ServerName dummy-host.example.com
    ##ServerAlias www.dummy-host.example.com
    ##ErrorLog "logs/dummy-host.example.com-error.log"
    ##CustomLog "logs/dummy-host.example.com-access.log" common
##</VirtualHost>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top