Thanks MensaWater and Skaperen for the replies.
And sorry for my ambiguous terminologies
Let me clear myself ::
a)
Fedora-14 is my host machine (machine over which VirtualBox is installed, into which Debian Squeeze VM has been set up)
b)
Debian Squeeze is my guest machine (VM).
Now, as I said that I could get the internet working only by setting the "Bridged Adapter" to NAT.
Also, I will prevent putting other details here (as requested by Skaperen). This is because I made some progress, as follows ::
(i)
Firstly, the thing I am trying to achieve is setting up a Webdav share on the VM, which should then be accessible from the host machine, via Firefox.
(ii)
Now on the VM (guest machine), I managed to configure the conf files correctly (I think). I say "correctly", because after a lot of huffs and puffs, I was able to "/etc/init.d/apache2 restart" successfully.
(iii)
On the VM, I disabled the auto-startup of firewall. So, on reboot, "iptables -L" show no configured rules.
(iv)
Also, on Fedora-14 VirtualBox settings, I enabled "Port Forwarding", with
Code:
Name "Rule 1"
Protocol "TCP"
Host IP
Host Port "8080"
Guest IP
Guest Port "443"
(v)
Now, when I type "https://127.0.0.1:8080/webdav" in the URLBar of Fedora-14, the bottom-bar shows "Connected to 127.0.0.1..."; however, I do not get the typical webdav layout. Well, I am not even asked for the "certificate acceptance" thing that happens when connecting to a secure-webdav network for the first time.
Note that if I try with "http" instead of "https"; or any other port besides 8080, the bottom-bar just shows "Connecting to 127.0.0.1..."; it's only when it is "https://127.0.0.1:8080/webdav", does it show "Connected to 127.0.0.1". So, I guess there is some form of "acknowledgement" happening; just bad that it's not going the full way :-\
I am again sorry (especially Skaperen) for being unclear the last time :-\
I will be grateful to listening back from you.
Thanks and Regards,
Ajay