Server Fault is a question and answer site for system and network administrators. 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 got application on my laptop (with Ubuntu) under nginx. And I have got a wifi router.

I want everybody connected to wifi can visit my application not through ip address, like

But through something like


What general settings should I use to make all this work (change /etc/hosts, make some settings on router etc)

share|improve this question

You need to set up your own name server, configure the 'local' domain on it, and configure your router to tell its clients to use that name server.

share|improve this answer
Doesn't Ubuntu comes with mDNS? – fl00r Nov 7 '11 at 20:30

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.