Cannot write to directory /etc/webmin/virtual-server/ Still an issue

Webmin doesn’t care about you changing network configuration outside of it. This cannot be the source of the issue.

Check this post out, perhaps it helps?