Various Windows techniques using VirtualBox

From Elvanör's Technical Wiki
Revision as of 10:53, 22 August 2008 by Elvanor (talk | contribs)
Jump to navigation Jump to search

/etc/hosts equivalent

  • The equivalent file is in C:\Windows\System32\Drivers\etc\hosts. You can have multiple hosts on a single line. However, if you want to test a host served by the Linux mother host OS, put your actual IP on a private network there (eg, 192.168.0.2), not 127.0.0.1 as it would not work with VirtualBox network bridging.

Flushing the DNS cache

  • This can be donw with the following command-line command:
ipconfig /flushdns