Skip to content

Instantly share code, notes, and snippets.

@n8jadams
Last active October 30, 2021 12:55
Show Gist options
  • Save n8jadams/ab8d63eeb4f9b82e332d6bd05052de0a to your computer and use it in GitHub Desktop.
Save n8jadams/ab8d63eeb4f9b82e332d6bd05052de0a to your computer and use it in GitHub Desktop.
Testing IE11 with VirtualBox

Testing IE11 with Virtualbox

First, follow the instructions here to get a Windows 7/8.1 IE11 virtualbox image.

Then in Virtualbox:

  1. File > Host Network Manager, click Create+
  2. Click the newly created Host Network (probably named vboxnet0) and copy the IPv4 Address. (Probably 192.168.56.1.)
  3. Import the .ova image, fill out the options (defaults are fine,) and start up the VM.
  4. In the VM's Settings menu, click Network and set Attached to: to be Host-only Adapter. The Name: field should populate with vboxnet0.

Finally, in the Windows VM,

  1. Open C:/Windows/System32/drivers/etc/hosts in Notepad
  2. Add an entry for whatever url you need, using the IPv4 address on the Host Network you created before. Example:
192.168.56.1  localhost
192.168.56.1  mywebsite.test
# etc...

Now you can test whatever webiste you're hosting on your main machine in IE11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment