I have two Linux servers on VirtualBox Virtual machines. One is Ubuntu Linux and another is OpenSuse Linux.
The hostname of Ubuntu server is "ubuntu-server" and hostname of open suse server is "suse-server".
When I type http:// ubuntu-server from my host machine it works perfectly.
But when I type http:// suse-server from my host machine it doesn't work. To access suse apache I have to type its IP adress eg: http:// 192.168.1.5
I checked my "hosts" file and it doesn't has any entry for ubuntu-server.
How can access SUSE server's Apache without typing its IP address and without editing hosts file in host machine?
My host OS is Windows 7 Professional.
Best Answer
Put your network adapters into Bridged mode so it gets its own address from the router
In Virtual Machine's settings, select
Networking->Adapter *x*->Bridged Mode->OK