Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 the local webserver on ubuntu inside virtual machine. Currently i access it via IP like

Is it possible i can DNS name for that ip which works only on local network like
share|improve this question
up vote 1 down vote accepted

Yes. See /etc/hosts/, you want something like this:    companyserver.local

(don't use .com unless you have to, it's bad practice)

share|improve this answer
thanks for ur help – John Dec 8 '09 at 1:40

Your Answer


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