How to do to Connect at Apache Webserver by Virtual Machine

1.Stop your VM and open its settings in the VirtualBox (OSE) Manager
2.Go to the Network tab

3.Select the network mode at your choice (bridged networking or host-only) (in the

below example, I'm using host-only)

If you want to use bridged networking, you've to select the right network adapter at

Name. For wired connections, you'd select something named like eth0. Wireless

connections are usually named wlan0 (the numbers may vary)

4.Save the settings
5.Start the Ubuntu VM

6.When up, you can gather the IP address by running:
ifconfig ' grep addr