As I describe in the title of this question, I like to allow my guest computer access the internet, and allow my host computer access via HTTP the guest computer.
In depth, I have a Windows 7 OS installed in my host computer, and I have installed the Latest Ubuntu Server version as a guest computer in a VirtualBox.
At the time, I have the option either to get access to the internet from my guest host, either allow the access to my guest host via the HTTP.
In my guest host, I have installed a LAMP stack, in combination with the WebMin. In my case, If I need to install a new software or updates in my guest host server, I have to shut down the guest computer and then change the connection settings from "Host-only Adapter" to "Bridge Adapter". Then if I like to use the WebMin, I have to shutdown again the guest PC and change the connection type from, "Bridge Adapter" to "Host-only Adapter".
Note that also I have used and a second adapter in network options of the guest host, with the alternative value, but no luck.
Any idea please on how to configure the VirtualBox for that porpose ?