Setting A Mini DNS Service For Your Home Wikidot Network

What it is about

  • You want to have some wikidot installation just for you and your home (or office) network users?
  • You don't have a global domain name, you want to point to you your wiki network?

Solution: set up a DNS service that resolves any given name in a domain to server that runs Wikidot at your home.

What software to use

We decided to use dnsmasq, because it is extremely small and just fits to your needs.

How to install

If you run Debian or Ubuntu (and have a Wikidot installation just like described here) all you need to do to install the server is:

apt-get install dnsmasq

Configuration time: server

You need to edit /etc/dnsmasq.conf file to look like this:


where wiki.home is a (non-existing) domain for your Wikidot installation (just like the one set in URL_DOMAIN in GlobalProperties.php).

Now use should start or restart your dnsmasq server:

/etc/init.d/dnsmasq start # start
/etc/init.d/dnsmasq restart # restart

Configuration time: clients

You need to tell computers in your home (or office) to use the newly created DNS server. You can do it either manually:

  • locate /etc/resolv.conf and add at THE VERY TOP:

OR if you use DHCP in your network, configure it to send as the FIRST DNS server (in addition to what you send now) with the DHCP lease to every client.

In both cases, you should replace with the IP address of your Wikidot installation IP.

End notes

Please check and feel free to edit this document.

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License