I am trying to use a VM to allow me and some other people in the company to test-drive changes to a Magento store. The VM is out of my control (mostly) and is hosted on a Windows Server box on our intranet. I don't know the version details or the actual VM used, but I can probably get this info if needed. I created an Ubuntu VM, installed Magento (v1.8). I backed up from my web store and restored to this VM. It all works (good enough for what I'm doing) if I stay within the VM.
The problem is that I cannot access the store hosted on the VM from outside the VM.
The location /var/www
contains the default apache index.html. The store is located at .../var/www/magento
If I just point a browser (from outside the VM) to the IP address of the VM I get apache's default index.html. If I look into the apache access.log I see the normal messages you would expect to see. Great! If I point the browser to "/magento" I get the VM hosts' IIS default web page! The apache access log shows that it returned some redirection (301, 302) error codes (I am not very familiar with this).
Oh, and I did try moving apache's DocumentRoot
to /var/www/magento
and got a host of other problems, so I put it back.
If this is a problem with the VM host, can you give me pointers so I can get the proper people involved? What am I doing wrong?
apache2ctl -S
output (server names masked):
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server example.com (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost example.com (/etc/apache2/sites-enabled/000-default:1)
Output of cat /proc/version
:
Linux version 3.2.0-77-generic (buildd@toyol) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #112-Ubuntu SMP Tue Feb 10 15:22:48 UTC 2015