Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have multiple domains which list as:

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

and I also have 2 IP addresses which are:

  • 46.4.198.15
  • 46.4.198.16

The server IP is:

  • 46.4.198.1

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 --> 46.4.198.15
  • ns2.domain.com --> 46.4.198.16

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

EDIT:

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. -> 46.4.198.1
    2. ns1.domain.com. -> 46.4.198.15
    3. ns1.domain.com. -> 46.4.198.16

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
    
Virtualmin isn't Webmin. –  Burning the Codeigniter 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? –  Burning the Codeigniter 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. –  Burning the Codeigniter Sep 20 '11 at 23:01
show 10 more comments

Your Answer

 
discard

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.