rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Can not work on my windows 8.1 Oracle VirtualBox. #6

Closed tshuy closed 9 years ago

tshuy commented 10 years ago

I follow the read.me file, but when I use the url 'http://mage2.dev' on my browser. I got the error message: The webpage is not available. I got the same error when I type the following urls on my browser: http://mage2.dev:88/server-status, http://mage2.dev:88/fpm-status.

Please elaborate the install environment. I got nothing output to the prompt window when I type 'git submodule update --init' from my git bash.

rgranadino commented 10 years ago

Have you added the appropriate entry to your computer's hosts file? It's been years since I've used a windows machine but from some googling it appears as tho its still managed in C:\Windows\System32\Drivers\etc

You may want to try and follow this guide: http://www.sysprobs.com/how-to-edit-host-file-in-windows-8-1-8

You need to have you computer resolve mage2.dev to 192.168.56.10.

tshuy commented 10 years ago

My ISP is AT&T universe. Will it have the IP 192.168.56.10? Or I need to use my localhost IP 127.0.0.1?

Please advise!!

augsteyer commented 9 years ago

Hello there, I have found myself dealing with the same issue. The apache config was not running for some reason or another on my win8.1 virtual box.

How I fixed it: Per this thread I found that I need to add a .conf extension to the /etc/apache2/sites-enabled/000-mage2 file as I was getting this error ERROR: Site 000-mage2.conf does not exist! when running the a2ensite command on it.

After running sudo a2ensite /etc/apache2/sites-enabled/000-mage2.conf I had this error pop: ERROR: No site found matching /etc/apache2/sites-enabled/000-mage2.conf! To fix I just moved the 000-mage2.conf to the directory next to sites-enabled, it's called sites-available. Then running a2ensite command on the file worked. Don't forget to restart apache afterwards or reload sudo service apache2 reload

Good luck!

therouv commented 9 years ago

@tshuy Can we close this issue?