These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [RESOLVED] Fresh install - Virtualmin & Nameservers on the new forum.
Hi all
I have a VPS (with 2 IP addresses) that my provider has set a default installation with Debian 6 64bit and Webmin.
I have purchased Virtualmin Pro and want to confirm a couple of things.
I need the server to act as Nameservers (ns1.domain.tld and ns2.domain.tld).
How do I go about setting this up?
So far I have:
Firstly, does this seem ok and secondly, what else should I do to ensure that this server acts as the nameservers that I need it to..so that I can start setting it as nameservers for my domains.
Many thanks
Dave
I just ran into a potential problem as well.
The server has been purchased to run a number of domains that already exist on a webhosting package.
Currently, each domain has it's nameservers registered to the ns1.webhost.tld and ns2.webhost.tld
I have configured the server with one of these domains set to be the primary. Can I point it at itself?
For example, let's say I have dave.com that is a currently accessible website with CrapWebHosting Inc. The registrar setup right now for dave.com is ns1.crapwebhost.inc and ns2.crapwebhost.inc
I have named my new server as ns1.dave.com and want to be able to use it as a nameserver (along with ns2)
To make this go live, I need to change the registrar config of dave.com to ns1.dave.com and ns2.dave.com.
Will this work?
I hope my issue is clear, my mind is melting right now lol
Howdy,
Welcome to the forums!
I need the server to act as Nameservers (ns1.domain.tld and ns2.domain.tld).
There's some details on how to setup nameservers available here, in the article at the end titled "How do I setup nameservers for my server":
http://www.virtualmin.com/documentation/dns/faq
The steps that you've described thus far all look great! You're off to a good start.
To make this go live, I need to change the registrar config of dave.com to ns1.dave.com and ns2.dave.com.
Whenever you create a domain in Virtualmin, as long as you enable the "BIND DNS Domain" feature, Virtualmin will generate DNS records for it.
If you also setup your server as a nameserver, as described in the link above -- you can then go to the registrar for any domain, and set the nameservers for that domain to point to your server.
Does that answer your question?
-Eric
Thanks for responding Eric. The bit I was missing was the Glue Record update to register my server as actual nameservers. I kept hitting my domain registrar control panel and only saw the ability to update the nameservers for a domain, with nowhere to specify the IP addresses of my dedi box.
Having just spoken to the registrar, they removed this facility from the control panel...due to a lot of people not understanding it and setting it up incorrectly. They now do it, on request, from their support system.
So, once populated - The internet will believe that my box is two nameservers :)
Am I right to think that I just need to create the A records now??, and it should be up and running in a day or so.
Cheers
Howdy,
Am I right to think that I just need to create the A records now??, and it should be up and running in a day or so.
Just about!
Check out the last 2 paragraphs of the "How do I setup nameservers for my server" doc above -- you just need to add 'A' records, as well as make a tweak to your Server Template... but after that you should be in good shape.
-Eric
Thanks Eric
I updated the template and created the A records...fingers crossed, in a couple of days it will be up and running