How can i do nameservers?

Hello! Tomorrow I want to install debian and I’m going to install all virtualmin. I have a domain “”.
How can i do nameservers like “” and "



You can read about how to setup nameservers here in the section named “How do I setup nameservers for my server” :

Where is DNS Records ?

Ahh, you’re using a (slightly) older version of Virtualmin, 3.84 is the most recent and changed where the DNS settings are configured.

For your version of Virtualmin, go into Services -> DNS Domain to configure DNS settings.


Where add nameservers ?


Name Server

Name Alias

Mail Server

Host Information


Sender Permitted Frorm

Well Known Service

Well, as described in the documentation, step number one is to go to your domain name registrar, and register your nameservers and their IP addresses.

Once that is done, you need to go into Services -> DNS Domain, and add an “Address” record for all of your nameservers. That tells your server about your various nameservers and their IP addresses.

But, before any of that will work, you also need to have registered your nameservers and their IP addresses at your domain name registrar.


when I add the nameservers & in domain receive error

{ns2=NameServer is not a valid Nameserver, ns1=NameServer is not a valid Nameserver}

It sounds like your nameservers aren’t actually registered as nameservers with your domain name registrar.

Prior to being able to add the nameservers to any of your domains, you first have to register them as nameservers with your domain name registrar.

Somewhere in your registrars control panel, there should be a place where you setup and, and on the same screen you’d associate those two names with IP addresses on your server.

If you aren’t seeing a place to do that, you may have to contact your domain name registrar for instructions on how to do that.


Your registrar would have two different areas for dealing with nameservers.

The one in your picture appears to be a section that allows you to associate an existing nameserver with a domain.

That’s not what you want :slight_smile:

The one you want is one that allows you to create nameservers… they need to be created before they can be added to your domains.

When you find the screen, it would allow you to input both a nameserver name as well as an IP address. If it doesn’t allow you to input both a nameserver name and an IP address, it’s not the correct screen :slight_smile: