cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access magento admin

Cannot access magento admin

Hi,

I'm new to Magento and trying to evaluate it in virtualbox. Below is the configuration:
- Virtualbox 5.1.14
- Guest OS: Windows Server 2012 R2 Standard
- XAMPP for Windows 5.6.28
- Bitami Magento module v2.1.4

The guest VM is on Virtual box NAT network 10.0.2.0, port 80,443 forwarded to IP address 10.0.2.15 which is the ip address of guest VM.

Inside the guest OS everything is working fine, I can access bitami dashboard and magento admin without any issue.

When I'm trying to access the magento admin on the host through the virtualbox interface 192.168.56.1, by using this url "192.168.56.1/magento/index.php/admin" , the url changed to "10.0.2.15/magento/index.php/admin....." automatically after waiting for a few seconds and browser returned an error "This site can't be reached". If I try to access bitami dashboard there is no problem so I assume the port forwarding is working.

Anybody knows if there is anything wrong with my setup? Thanks.