magestead icon indicating copy to clipboard operation
magestead copied to clipboard

How to add multiple vhosts?

Open Valentyn-Kubrak opened this issue 10 years ago • 8 comments

Hello, How to add multiple vhosts and map it in Windows hosts file?

Valentyn-Kubrak avatar Sep 06 '15 15:09 Valentyn-Kubrak

This is most important thing, everyone forgot it to add in documentation of their vagrant box.

Valentyn-Kubrak avatar Sep 06 '15 15:09 Valentyn-Kubrak

Unfortunately the latest version of Magestead was designed to be a per project Vagrant solution.

If you want to map your project to your hosts file then you can do this manually or install https://github.com/smdahlen/vagrant-hostmanager as a vagrant plugin. Magestead will handle this and and use the domain you set in the configuration.

richdynamix avatar Sep 09 '15 09:09 richdynamix

I am leaving this issue open. I will look at adding a multiple vhosts configuration.

richdynamix avatar Sep 09 '15 09:09 richdynamix

I would also be interested in this.

matthewlilley avatar Jul 27 '16 16:07 matthewlilley

+1

inluxc avatar Aug 02 '16 16:08 inluxc

@MatthewLilley @inluxc @Valentyn-Kubrak Do you guys have a use case scenario where you see this would be needed?

Is this primarily to add multiple websites/stores to your existing codebase or would this be to add additional website with another codebase?

richdynamix avatar Aug 05 '16 12:08 richdynamix

@richdynamix I was looking for exactly this capability. I need to be able to add multi website capabilities because the multi-site environment is one of the most important parts of Magento for me.

lminor avatar Aug 19 '16 03:08 lminor

For me is just, add multiple websites/stores to your existing codebase. For different code base i create another project.

inluxc avatar Sep 13 '16 10:09 inluxc