Nginx server names optimizations (remove webmail.domain.com)

When you have 700 sites on a server as i have, resource optimization is very important.
By default Hestia creates a server name for every mail domain that you create in the panel: webmail.domain.com , and this is apart from the web domain.

I sugest to allow user to enable or disable this feature. I prefer much more domain.com/webmail instead of an independent server name. A lot of server names will fill CPU cache more quickly and thats not good.

Take a look at this link if you need more info about server names and server resources:
http://nginx.org/en/docs/http/server_names.html#optimization

What do you think?

You can customize the DNS template.

Edit: I didn’t read it through. My wife was sharing her life plans with me…

That possibility has been asked in the past. If it is not in hestia and has to do with email, it won’t get developed unless you do it yourself or hire a programmer.

The development team does not use email and this things are headaches for them.

  1. You can disable webmail.domain.com via /edit/server/

  1. mail.domain.com is an requirement if you want to have ssl enabled for the mail domain otherwise you are not able to get an ssl certificate or all users have to use hostname.com instead…

  2. Currently “webmail” disabled disabled the creation of mail.domain.com certificates it will be fixed in 1.4.4 that will be released soon… Don’t know if it is worth to allow the creation of a mail domain without the web domains.

1 Like

Maybe it’s not a solution for you but I separate Email + DNS servers from the Web Servers.

You have to give your clients access to 2 different panels like:

  • correo.ramirohosting.com.ar
  • web.ramirohosting.com.ar

That way you will have optimized email and web.

2 Likes