How to Change Webmail URL

Discussion in 'General' started by thesystemist, Nov 3, 2025.

  1. thesystemist

    thesystemist New Member

    Hello everyone, I'm writing to ask if there's a way to change the webmail access link.
    I have a multiserver installation (panel, web, mail1, ns1, etc.).
    For ease of use, I've added Roundcube access to the Panel.

    Go to "System -> Main Config -> Webmail URL:"
    or changed it from "https://[SERVERNAME]:8081/webmail"
    to "/webmail"
    Because I'd like to access it by just typing servername/webmail, without the port.
    But this change doesn't seem to have taken effect.
    Did I do something wrong?
    Or is there another way?

    I also restarted the apache2 service, but nothing happened.

    Thanks everyone, and thanks in advance for your help.
    Regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you must enter:

    "https://[SERVERNAME]/webmail"

    into that field. And then you must ensure that you really have a webmail client installed and reachable at that URL, because this setting just configured the webmail link in the ISPConfig GUI.
     
    thesystemist likes this.
  3. thesystemist

    thesystemist New Member

    Thanks so much, Till.
    After changing the field, I had to edit the "/etc/apache2/sites-available/ispconfig.vhost" file,
    where I added port 443 and assigned the /webmail alias to Roundcube.

    Thanks again for the tip.
    Have a nice day.
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Make sure you attach the server FQDN with port 443 in ISPConfig vhost, like in a web site vhost or you might end up breaking up the webserver.

    And to make it update proof, make sure you have a copy of customized master, is kept in conf-custom install folder, as without it, any ISPConfig update may overwrite it.

    Many would prefer default or proxying them as it is easier to maintain, but that are all a matter of preference, which is not really binding nor that important, and so long you know how to make it work and maintain it properly, I think it should just be fine.
     
    thesystemist likes this.

Share This Page