Postgressql - DNS cannot be disabled while sub-domain still have it enabled

I’m completely stuck here, so I hope one of you could help me.
I’d like to enable Postgressql for one of my virtual servers. Therefore I have to enable it to the main domain, but there’s where I’m getting into trouble. When I try to enable and apply Postgressql I receive this error:

" — ### Failed to modify server : DNS cannot be disabled while sub-domain still have it enabled"

I don’t think it’s related to Postgressql particularly, because every change I try to make gives me this error.

Anyone who could help me out here?
Many thanks in advance!

SYSTEM INFORMATION
Ubuntu Linux 20.04.5
Webmin version: 2.101
Virtualmin 7.8.2
Related packages: Postgressql

I guess you mean sub server not sub domain ? If it is a sub domain how is it managed in virtualmin

Sub-domains can exist in domains restored from cPanel backups (and once Sub-domains have been enabled, it’s possible to create them, too, though I strongly recommend against it). That’s not relevant to the question.

The problem is that there is a sub-domain of the domain you’re trying to change features on that has DNS enabled (I guess it was there are part of a restore from cPanel…Virtualmin won’t allow that, but I guess it’ll give a sub-domain a DNS server if the backup had one…that’s kinda bug-like).

Solution is probably to disable DNS in that subdomain before trying to make any changes in the parent. So, select the Sub-domain in the dropdown, click “Edit Virtual Server”, and then disable “DNS domain enabled”. Save that. Now you should be able to edit the parent.

This assumes you’re not actually relying on the Virtualmin-managed DNS for that sub-domain! I’m kind of making assumptions, but if DNS is not enabled in the parent, you would have had to have delegated authority in your other DNS servers for the subdomain to the Virtualmin server. That seems unlikely.

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