I have some clients that just use my service for DNS and email as their website is hosted elsewhere.
This appears to mean that I can’t use either admin.domain or webmail.domain as Vmin is most likely redirecting to admin.@ where the @ is pointing to the external web server.
The admin. and domain. are both pointing to my server in DNS, but @ isn’t.
How to get around this as I need to be able to offer webmail at a minimum.
So, Vmin sees a request for admin.domain.com and then applies a redirect to the @ DNS record and adds the port number, in this case that works out to be wix.com:20000 - which isn’t going to work as my Vmin isn’t at wix.com .
Ah, is that what happens? Might there be a way to nevertheless keep port 10000 for the virtualmin server while we let Wix have 80 and 443? I will take a look and come back to you if I find anything good.
WOW – I continually am impressed with Virtualmin !!! For years I have noticed the port 10000 redirect in httpd.conf and the few times I needed to change it, I fired up VIM and just made the change
Great to know the GUI has it too – and of course often easier and safer than editing httpd.conf directly !!
Most changes in Server Templates apply to virtual servers created after the change. They are “templates”. You can change existing redirects in the GUI, but it’ll be in the Apache Website section of the virtual server itself, not in Server Templates.