How to access xampp virtual host on HOST OS (Ubuntu) from guest OS (windows 10)?


Ghazanfar Mir

I have a machine running Ubuntuon the host and Windows10as a guest, using VirtualBox.

I've also set up a http://site.localworking virtual host say . Now I want to be able to access this site from the Guest.

I can access the host PHPMyadminfrom the guest OS with no problem, however, I can't access the actual site from the guest

(http://site.local)

Can someone help?

Ghazanfar Mir

Finally got it to work by itself.

I just need to add the entry in the guest's hostsfile . so i added

10.0.2.2 site.local

In Windows 10's hosts file, this file is located atC:\Windows\System32\drivers\etc

Related


Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

Access VirtualBox Mac OS guest on Windows 10 host network

Shahzad Latif | I have a Windows 10 host with an IP address of 192.168.8.101, a subnet mask of 255.255.255.0 and a gateway of 192.168.8.1. I also have Mac OS Sierra installed on VirtualBox on this Windows host. This guest macOS has an IP like 10.0.2.15 and a g

How to access VMWare guest OS filesystem from host?

username I have an Ubuntu guest OS running on VMWare Workstation 12 on a Windows 10 host. Recently, the guest OS failed to boot. I have a snapshot from a few weeks ago, but I'm looking to restore the files in a VM that doesn't boot, and so far I've been unable

How to access VMWare guest OS filesystem from host?

username I have an Ubuntu guest OS running on VMWare Workstation 12 on a Windows 10 host. Recently, the guest OS failed to boot. I have a snapshot from a few weeks ago, but I'm looking to restore the files in a VM that doesn't boot, and so far I've been unable

How to Create a Virtual Host in Xampp Windows 10

Saudi Ahmed | I want to setup virtual host for my local project. I add this code to the C:\xampp\apache\conf\extra\httpd-vhosts.conffile. <VirtualHost *:80> DocumentRoot "c:/xampp/htdocs/bab/" ServerName bab.local <Directory "c:/xampp/htdocs/bab/">

How to Create a Virtual Host in Xampp Windows 10

Saudi Ahmed | I want to setup virtual host for my local project. I add this code to the C:\xampp\apache\conf\extra\httpd-vhosts.conffile. <VirtualHost *:80> DocumentRoot "c:/xampp/htdocs/bab/" ServerName bab.local <Directory "c:/xampp/htdocs/bab/">

How to Create a Virtual Host in Xampp Windows 10

Saudi Ahmed | I want to setup virtual host for my local project. I add this code to the C:\xampp\apache\conf\extra\httpd-vhosts.conffile. <VirtualHost *:80> DocumentRoot "c:/xampp/htdocs/bab/" ServerName bab.local <Directory "c:/xampp/htdocs/bab/">

How to Create a Virtual Host in Xampp Windows 10

Saudi Ahmed | I want to setup virtual host for my local project. I add this code to the C:\xampp\apache\conf\extra\httpd-vhosts.conffile. <VirtualHost *:80> DocumentRoot "c:/xampp/htdocs/bab/" ServerName bab.local <Directory "c:/xampp/htdocs/bab/">

How to Create a Virtual Host in Xampp Windows 10

Saudi Ahmed | I want to setup virtual host for my local project. I add this code to the C:\xampp\apache\conf\extra\httpd-vhosts.conffile. <VirtualHost *:80> DocumentRoot "c:/xampp/htdocs/bab/" ServerName bab.local <Directory "c:/xampp/htdocs/bab/">

Connect from the host OS to the guest OS

Avinash kumar I have Ubuntu Server 12.04 on VirtualBox on Windows 7 OS . I set up a firewall inside Ubuntu to allow access to port 80 . Ubuntu server is running Apache server. I have selected Host Only Adapter Mode in VirtualBox and selected Virtual Box Host O

Connect from the host OS to the guest OS

Avinash kumar I have Ubuntu Server 12.04 on VirtualBox on Windows 7 OS . I set up a firewall inside Ubuntu to allow access to port 80 . Ubuntu server is running Apache server. I have selected Host Only Adapter Mode in VirtualBox and selected Virtual Box Host O

Connect from the host OS to the guest OS

Avinash kumar I have Ubuntu Server 12.04 on VirtualBox on Windows 7 OS . I set up a firewall inside Ubuntu to allow access to port 80 . Ubuntu server is running Apache server. I have selected Host Only Adapter Mode in VirtualBox and selected Virtual Box Host O

Connect from the host OS to the guest OS

Avinash kumar I have Ubuntu Server 12.04 on VirtualBox on Windows 7 OS . I set up a firewall inside Ubuntu to allow access to port 80 . Ubuntu server is running Apache server. I have selected Host Only Adapter Mode in VirtualBox and selected Virtual Box Host O

Unable to run guest OS with QEMU in host Ubuntu

Aaron Acosta I want to run a Debian OS .iso image for an ARM processor using QEMU in a host running Ubuntu (via x86 architecture). I executed the following line in terminal: aaron@aaron-HP-ZBook-14:~/Descargas$ qemu-system-arm -machine sabrelite -cdrom debian-

Ubuntu host cannot Ping Guest Windows 10

Ragnason I have the following components: Host: Ubuntu 16.04.4 LTS. Guest: Windows 10 virtual machine. In the "Virtual" box, I've selected " " Bridged Adapterfor this Windows VM , and I've also changed the VM's static IP so that it matches my host Ubuntu. But

Ubuntu host cannot Ping Guest Windows 10

Ragnason I have the following components: Host: Ubuntu 16.04.4 LTS. Guest: Windows 10 virtual machine. In the "Virtual" box, I've selected " " Bridged Adapterfor this Windows VM , and I've also changed the VM's static IP so that it matches my host Ubuntu. But

Connect to host from VirtualBox guest OS?

Naftuli Kay I essentially want to access my host from a guest in VirtualBox. Is there an IP address for my host that I can use from the guest? Are additional steps required to set this up? I want to access the host's Apache, FTP and SSH services. Naftuli Kay T

Connect to host from VirtualBox guest OS?

Naftuli Kay I essentially want to access my host from a guest in VirtualBox. Is there an IP address for my host that I can use from the guest? Are additional steps required to set this up? I want to access the host's Apache, FTP and SSH services. Naftuli Kay T