Access local virtual webhosts on host from guest
Posted: 21. Aug 2011, 11:58
I have Debian Squeeze host running my local Apache2 webserver with a number of virtual webhosts (Apache's "NameVirtualHost *:80" directive), and VirtualBox with WinXP as guest.
On host (Debian) I can access my websites by their domain names by simply putting a line in /etc/hosts, like "127.0.0.1 mywebsite-1.com, mywebsite-2.com, ..." (so all websites sit on the same local ip, but with different names).
How to configure host-guest network to access them in the same way from guest WinXP as well?
On host (Debian) I can access my websites by their domain names by simply putting a line in /etc/hosts, like "127.0.0.1 mywebsite-1.com, mywebsite-2.com, ..." (so all websites sit on the same local ip, but with different names).
How to configure host-guest network to access them in the same way from guest WinXP as well?