I have a machine running Ubuntu on host and Windows10 as Guest running using VirtualBox.

I have also setup the vhost say http://site.local which is working fine. Now I would like to be able to access this site from Guest.

I can access the HOST PHPMyadmin from Guest OS without problems, however, I am unable to access the actual site from Guest


Could anyone help with it please?


Finally got it working myself.

I just had to add entry in guest's hosts file. So I added site.local

in the Windows 10's hosts file which is located at C:\Windows\System32\drivers\etc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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