Guest OS: Ubuntu 15.04
Host OS: Windows
1) Install apache in webserver
sudo apt-get install apache2
2) Check the status of webserver
sudo service apache2 status
3) Configure a static file of your own
sudo vi /var/www/html/hello.txt
4) To access the webpage from host OS, you need to configure " Host-Only adapter" in adapter settings
settings->Network->adapter1
5) After adpater settings check for interface IP inside VM ( Mostly its in 192.168.*.* range). Also ping the IP from host OS to validate the IP connectivity.
6) Access the configured static webpage from host OS
http://192.168.*.*/hello.txt
No comments:
Post a Comment