I have multiple domains which list as:

  • domain.com
  • domain.org
  • domain.biz
  • domain.mobi

and I also have 2 IP addresses which are:


The server IP is:


Now, I want to set them up to be able to work with the domains I have, which of course has to point to the ns1.domain.com and ns2.domain.com, however I want to set them up in Webmin, which the nameservers will be pointed as:

  • ns1.domain.com -->
  • ns2.domain.com -->

Then all domains will point to ns1.domain.com and ns2.domain.com. I have no idea how to do so.


Okay, I've managed to install BIND DNS module for Webmin, I have done the following:

  1. Created master zone (domain.com).

  2. Created 2 nameservers in Name Server Records

    1. domain.com. -> ns1.domain.com
    2. domain.com. -> ns2.domain.com
  3. Created 3 addresses in Address Records

    1. domain.com. ->
    2. ns1.domain.com. ->
    3. ns1.domain.com. ->

I've also done it to the following other domains, but they all point to ns1.domain.com and ns2.domain.com, yet I still don't see my DNS being propagated, it's been 3+ days. Even What's my DNS has reported my DNS is not propagated yet. Am I doing something wrong?


First, you will need to register those nameservers at the registrar of your example.com. As for the webmin part, after registering your nameservers at your domain name registrar -- you'll want to log into Virtualmin, select your "example.com" domain, click Server Configuration -> DNS Records, and create a new "A - IPv4 Address" record for ns1.example.com and ns2.example.com.

Lastly, you'll want to tell Virtualmin to use your nameservers when it generates NS records for new Virtual Servers that it creates. You can do that by going into 'System Settings' -> 'Server Templates' -> 'Default Settings' -> 'BIND DNS Domain', and set 'Master DNS server hostname' as well as 'Additional manually configured nameservers'.

Ref: http://www.virtualmin.com/documentation

| improve this answer | |
  • Virtualmin isn't Webmin. – MacMac Sep 16 '11 at 22:19
  • Ofcourse yes, webmin is only for system administration and virtualmin is a webmin module and you will definitely need it if you are planning to host multiple virtualdomains in your server. – SparX Sep 16 '11 at 23:25
  • But Virtualmin isn't free isn't it? – MacMac Sep 16 '11 at 23:33
  • Only the pro version is priced one and there is a GPL version which you can download/install without any cost. You may need to install Usermin first before installing virtualmin. – SparX Sep 16 '11 at 23:41
  • 1
    I've done it myself, there was a problem with the /etc/network/interfaces since the two IP addresses were not activated, now it works. Thanks for trying to help me, so I'll accept your answer anyway. – MacMac Sep 20 '11 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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