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 samba server running on ubuntu 10.04 lts. At the moment I am connecting to it from windows 7 by typing \\\sharename. Is there a way to give the ip a "name". At my school I can type in \hsmain\sharename. How would I set something like this up?

share|improve this question
if you are the only client to that server, you can add an entry in your hosts file located at c:\windows\system32\drivers\etc – jet Mar 8 '13 at 18:58
up vote 1 down vote accepted

You need a DNS server (like bind) or something substituting it in your network. You can install dnsmask for example on your ubuntu server or if your network is simple, you can use hosts files on all machines.

share|improve this answer

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.