Substitute ${hostname} in URL for webmail/admin redirect

I would like to have the webmin & admin URL's redirect back to the hostname of the server instead of the domain of the virtual server but setting https://${hostname}:10000/ doesn't work. The reason for this is that all of my servers are in a domain that I have purchased a wildcard SSL cert for so my clients get SSL protection without having to deal with self signed cert warnings.

Status: 
Closed (fixed)

Comments

You can do this, but you need to use ${HOSTNAME} instead. Or since the hostname is fixed, you could just put your system's actual hostname in there ..

I want this for my server template (since we're up to about 35 servers running virtualmin and growing everyday).

And, duh. Sorry, all the other substitutions I'm doing are using ${HOSTNAME} and working fine. I'm not sure why I put it in lower case...

Thanks :)

Automatically closed -- issue fixed for 2 weeks with no activity.