Hey guys! Basically all my sub-domains are gettings webmail and admin records being created, even if I disable them in the server template.
I went to: Virtualmin > System Settings > Server Templates > Settings for Sub-Servers > Website for domain
And disabled both functions below and I still get admin.sub-domain.domain.tld and webmail.sub-domain.domain.tld records in DNS settings for that sub-domain.
Redirect webmail.${DOM}? Redirect admin.${DOM}?
I'm using sub-domain because I use CloudFlare as a DNS/CDN for all domains I host. Since creating a sub-server I will face issues with SSL, I rather use sub-domain to avoid that.
Besides that, is there any ETA for CloudFlare integration with Virtualmin? I always use Virtualmin BIND DNS records to import in CloudFlare. So if any domain needs a new sub-domain I need to manually export the dns to Cloudflare :(
Thanks!
Comments
Submitted by diegoweb on Thu, 11/19/2020 - 20:53 Pro Licensee Comment #1
Submitted by JamieCameron on Fri, 11/20/2020 - 19:07 Comment #2
Note that disabling this in the template will only effect new domains created using that template - existing domains won't be updated.
Submitted by diegoweb on Mon, 11/23/2020 - 13:53 Pro Licensee Comment #3
I know, but I disabled it and then deleted the domain and recreated it, the new domain keeps getting this admin/webmail redirects even though those functions are disabled.
Submitted by JamieCameron on Mon, 11/23/2020 - 18:16 Comment #4
Does this happen only for sub-domains, or also for top-level domains?
Submitted by diegoweb on Mon, 11/23/2020 - 18:32 Pro Licensee Comment #5
Top-level domains work as expected. If redirects are disabled in Server Templates > Default Settings, DNS entries are not created. But it doesn't work for Sub-server and sub-domain when redirects are disabled in Server Templates > Settings For Sub-Servers
Submitted by JamieCameron on Mon, 11/23/2020 - 19:45 Comment #6
Thanks - I found the bug, and will fix this in the next release.
Submitted by diegoweb on Mon, 11/23/2020 - 19:49 Pro Licensee Comment #7
Glad to help :D