Problem is as noxen.net is base domain where ns1 is set, it don’t appear as a virtual server.
Just to be sure what is your problem, you are saying that noxen.net domain doesnt appear in Virtualmin under virtual servers but you can see it from various Webmin modules like named, mysql, etc.?
Right. That base domain is used for nameserver and primary website located at /var/www/html (debian used on this server).
I can’t list too other email adresses like root@noxen.net or nox@noxen.net and manage it from webmin, or creates new.
Did you add a virtual host named noxen.net? You need to have a virtual host to make the email work. What the primary domain do is an anchor for the nameservers if you are running your own DNS.
I tried to create a virtual server with base domain noxen.net and virtualmin answer domain already exist (as it is already set as nameserver in bind configuration) and don’t permit to create it.
The only option to manage base domain to be a virtual server is using virtualmin link “Import existing domain as a virtual server” but I’m afraid using this breaks something as it will create another bind zone file.
Well, maybe everything are not clear with me as I’m not much familiar with bind and domains in general.
How did you add that domain if you didnt use Virtualmin? Did you manually edit files to add noxen.net domain? This could explain your problem because adding name servers would not prevent you to later add the domain. Just to be sure, did you check under Vmin - List Virtual Servers if you have noxen.net?
Bind is a beast in itself, it is hard to learn and hard to figure out until you gain an intermediate knowledge of it. There are a lot of variable things that can happen which makes bind troubleshooting hard.
Or you could delete all the current records of that domain and then use Virtualmin. In this way you are sure Virtualmin will do all needed task to properly setup this domain.
First make a backup of /etc, /var and /home (at least on centos, it could be different on other OS) after that you can test what method is better. But if you just add the domain Virtualmin should setup everything, including DNS.
I did the Import feature and works now, difference now is I have some menu to manage some services for that domain, including possibility to manage new mails and aliases. Virtualmin / Webmin kept original dns zone file while the import operation and minimal services are actually set :