Trouble creating subdomains

I am trying to get a subdomain created for an account. So far I am just testing, so the subdomain I am entering is “test”. Just “test”, not “” as the form already has “” shown.

I am getting back the following error:

Failed to create virtual server : Invalid sub-domain name - no dots are allowed

I am not entering any freaking dots! :slight_smile:

What’s wrong?

I fixed it by replacing, in /usr/share/webmin/virtual-server/domain_setup.cgi, line 58:


    $in{'dom'} =~ /^[A-Za-z0-9\-]+$/ || &error($text{'setup_esubdomain'});


    ($in{'dom'} =~ /^[A-Za-z0-9\-]+$/) || &error($text{'setup_esubdomain'});

& should be &…