Virtualmin DNS configuration

Hello, I have Ubuntu 24.04.1 LTS on my server. I installed virtualmin and created 4 separate virtual servers with 4 domain names in virtualmin. xxx.com, yyy.com, zzz.com, aaa.com. I connected a 2nd domain to 1 virtual server. (yyy1.com) I installed wordpress on two servers xxx.com and yyy.com and all my servers worked. Then I installed a xxx.com, woocommerce themed website on one of my wordpress installed servers. First, all my websites worked but after a few hours, the site where I installed woocommerce became inaccessible and when I type the yyy.com domain of the main domain of the other site where I installed wordpress, it does not appear on that site but when I type the subdomain name yyy1.com, that site appears. Then 12-13 hours passed and all my sites started working again. However, after 1-2 hours, the site where woocommerce was installed disappeared again. I checked all my domain names, all of them are working correctly with nameserver redirects. Currently none of my websites are working. What should I do, where is the problem, I would be very happy if you could help me.

Use https://mxtoolbox.com/ and use the DNS Check from the drop down

Also checked DNS propagation. This will tell you all over the world what IP is being used for your domain.

This is not a problem, this is typical of the issue with DNS propagation. It can take upto 48 hours for the domain to resolve reliably all over the world. There are a few things that you can plan to do before changing nameservers of a domain which can reduce this time. You could reduce TTL, for example, 48 hours before you change nameservers.

In this instance, your only option is to wait patiently for propagation to complete.

However no one knows where the name servers are and what records the dns server contains, the OP could be waiting a long time if the name servers are not managed by webmin and the OP has not added the records required to the, perhaps, other dns servers

Yes, that is correct.

Thank you for your help.
I waited 36 hours for DNS propagation. xxx.com and yyy.com propagated except for 8-10 regions. Other domains propagated in all regions. DNS Check for xxx.com and yyy.com
"Sorry, we couldnā€™t find any name servers for ā€˜xxx.comā€™ "
"Sorry, we couldnā€™t find any name servers for ā€˜yyy.comā€™ "
Other domains are working properly. The domains that are not working are domains that have wordpress installed in virtualmin. What I donā€™t understand is that those 2 domains are not working. But why are the other domains not working? DNS, MX of these domains are normal. Again, all my websites appear for 1-2 hours, then disappear for 10-12 hours. If you can please provide some information, thank you very much.

It sounds like you have not delegated your zones to your DNS server(s).

Thatā€™s done with glue records at your registrar, and is outside the control of Virtualmin or anything you do on your serverā€¦itā€™s at your registrar. How you create glue records is dependent on your registrar, some just call it ā€œName Serversā€ in their UI. Some make it easy to provide a name and IP, others require you to sort of bootstrap up by first hosting your zone in their DNS servers, creating the A records for your name servers, and then using those names to delegate to them. All of that is unrelated to Virtualmin, and specific to your registrar.

1 Like