Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Virtual Box, Linux , networking

12:53 pm on Nov 20, 2011 (gmt 0)

Junior Member

joined:Aug 15, 2011
votes: 0

I want to set up LAMP on Virtual Box on Windows7. I am wondering if it is possible to (regular cable modem from ISP connected to desktop through ethernet port, dynamic IP)

1) Connect from Windows7 to Linux (Apache, MySQL-server, etc...)
2) Connect from Linux to the Internet
3) Connect from Windows 7 to the Internet

...all at the same time?

Thank you.
9:10 am on Nov 21, 2011 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 17

any internet request for a domain/hostname will have to resolve to an IP address first.
that dynamic IP is going to make it difficult if not impossible to make a functional DNS config.

this is separate from the issue you are probably more interested in, which is the web functionality of multiple processes/OS's on one W7 box.
11:32 am on Nov 21, 2011 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 19, 2004
posts: 53
votes: 0

Yes, it's possible. I'm using VMware but I think VirtualBox should be similar. You can either choose bridged or NAT network connection. Both will work & you can have a development LAMP server within your Windows 7 host, all connected to the internet.
11:20 pm on Nov 21, 2011 (gmt 0)

Junior Member

joined:Aug 15, 2011
votes: 0

I am trying to stick to the option of Host-only Adapter + NAT (as suggested on VB support forum), but I cant get it to work at all. I got some pictures here: [joliett89.comli.com...]