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?

1 Answer 1


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

File Path :


FYI: I have installed XAMPP in my F: drive

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

##<VirtualHost *:80>
    ##ServerAdmin [email protected]
    ##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
  • After uncommenting the base url for my storeviewwill be [email protected]?? or something else
    – learner
    Commented Jul 4, 2017 at 3:27
  • www.dummy-host.example.com will be your site url and magento folder location is "F:/Projects/htdocs/dummy-host.example.com"
    – Suresh S
    Commented Jul 4, 2017 at 6:10
  • ServerAdmin - what value should it contain
    – aravind
    Commented Feb 21, 2020 at 5:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.