Domain not resolving - using virtualmin vanity nameservers

Hi there Virtualmin specialists.
I’v been using webmin for years and always used the registrar’s nameservers -> pointing A records to my servers IP address using virtual hosts. No problem there…

I discovered virtualmin to serve as Webhosting for my clients = great ! But i’m stuck with the vanity nameservers.

**replaced. (dots) by _(underscores) -> due to blocked by this forum

My server FQDN is
customit_3designs_be. -> reverse DNS OK

Registrar :
ns3.3designs_be ip of ns3.digitalocean_com
ns2.3designs_be ip of ns2.digitalocean_com
ns1.3designs_be ip of ns1.digitalocean_com

Digital Ocean Domain records
ns3.3designs_be directs to (ip of ns3.digitalocean_com )
ns2.3designs_be directs to (ip of ns2.digitalocean_com )
ns1.3designs_be directs to (ip of ns1.digitalocean_com )

3designs_be directs to ns1.3designs_be.
3designs_be directs to ns2.3designs_be.
3designs_be directs to ns3.3designs_be.

VirtualMin nameservers during setup
primairy = ns1.3designs_be.
secondairy = ns2.3designs_be.

If I use online testing tools, there’s not much wrong of fails. All seem OK. But my website which is installed with Virtualmin is not resolving by name : 3designs_be. I can only access it via my server IP address

Have been looking for days, but can’t find why the virtual hosting is not working via Virtualmin.

I appreciate your help!!!

Welcome to the community, @vanhims. Thanks for describing your domain configuration in great detail and offering your real domain and IP address for diagnosis, it enabled me to take a quick look at your DNS records and helped me understand your situation better. I don’t know why people attempt to obfuscate their domain names and IP addresses when seeking help here in 2020 when privacy is dead anyway.

Well, before I address the primary issue of getting resolve to the Virtualmin box, I would like to point out that Virtualmin’s web interface can be accessed from any domain / virtual server that is hosted on the Virtualmin box, thus: or (if admin subdomain has been pointed to Virtualmin box’s IP), which makes it much easier to type for lay people. You do not need to enter your IP address in the browser (and bypass the security warning) every time you wish to access Virtualmin, @vanhims; just use the domain name of any of the virtual servers you host. :man_cartwheeling:

Now, about the matter of getting resolve to the Virtualmin box:

  1. will not direct to ns1.3designsbe. and will point to will point to will point to

  2. You will then configure Virtualmin to use ns1 and as name servers for current virtual servers + sub servers and aliases as well as for any that you create in future. This is done via

  3. Finally you could create and point it to so that you would be able to access Virtualmin’s web interface by entering in the browser.

If all goes well, you will have resolving to its assigned virtual server configuration in Virtualmin and be able to use your vanity nameservers ns1 and on current and future domains which you host on Virtualmin.

As a bonus, you will be able to admin Virtualmin via instead of having to use the IP address.


Hi Niel,

Thank you so much!!! You are very smart and nice for helping me out. It worked in 5mins ( after looking for 2 days ). I followed the tutorial from digitalocean and they recommend using the digitalocean nameservers as parent with Vanity nameservers. This was causing so much confusion for me. Your tip totally makes sense to me now!

So : Tell you registrar -> what your server IP is and the corresponding 2 custom nameservers. This will direct the domain name request to virtualmin on your server. It collects the request and then resolves the domain name + it takes care for all the extra A records.

So finally, my customers only have to add 2 lines in their registrar nameserver setup.

Thanks again Niel !!!

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.