hey I found the following code, but was wondering if there was a way to adapt it so that all virtual domains are able to access it, not just one. I would like to make it so that virtualmin/webmin and usermin can be accessed via a virtual host and not have to type in the port. I found the following code on another site. could this be adapted to use like a domain variable or something like that?
And it’ll redirect to the control panel or to usermin.
That’s configured within System Settings -> Server Template -> Default Template -> Apache Website. Look for “Redirect webmail.domain” and “Redirect admin.domain”.
-Eric
Okay, the problem is that the DNS for admin and webmail aren’t seutp.
Does those work for new domains you add?
It was only a few months back that Virtualmin added that feature. One possibility is that rooksystems.com was added to your system before that feature was around.
As for how to fix it?
If you have the Pro version (I don’t think this is in GPL, though it’s worth looking), you can enable it on the command line: