Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu installed on VirtualBox, on top of a Windows 8 host. How can I setup a static IP and DNS name for this virtual machine that other virtual machines will see?

share|improve this question

migrated from May 2 '13 at 2:21

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.

I'd refer you to How to make a machine accessible from the LAN using its hostname, except that you want to do this with a Windows host… You should ask Windows experts, not Unix experts. – Gilles May 1 '13 at 23:06

You should set up a DNS server of write down the host's name in the hosts file of each system you have.

share|improve this answer
Where should I setup DNS server? On Ubuntu guest or on Windows host? I can use /etc/hosts instead of it, but first I need provide static IPs, isn't? How I do this? – Pavel Bernshtam May 1 '13 at 13:23
You can set up the DNS server anywhere. You just have to configure each host to use it. It will be easier if each host has a static IP address but what do you mean by "How I do this?" – Spack May 1 '13 at 13:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.