webmail question

Discussion in 'Installation/Configuration' started by createch, Jul 13, 2008.

  1. createch

    createch ISPConfig Developer

    I have a problem with using webmail in ISPconfig..

    originally someone set the server's hostname to be www.abcdef.com (domain does not exist) during the installation of the linux -- a Fedora Core 6. After that we installed the ISPconfig and webmail, etc...

    Later we determined to use www.accoladedns.com as the hostname. We changed the /etc/hosts and /etc/sysconfig/network to update the hostname, then reboot --- everything works fine and the hostname now becomes www.accoladedns.com. However when we use the webmail by visiting http://www.accoladedns.com:81/webmail, it will automatically "jump" to http://www.abcdef.com:81/webmail

    since www.abcdef.com does not exist.. of course the browser will return an error.

    Can someone tell me in what way can I tell the webmail (or is it actually postfix?) that the hostname has been updated?

    Thanks in advance.
     
  2. torusturtle

    torusturtle ISPConfig Developer

    Have you configured ISPConfig to use the new domain?
    Can you login to the Conrol Panel?
     
  3. createch

    createch ISPConfig Developer

    Yes I have configuraed ISPconfig to use the new name, and can login to the Control panel too.

    The problem only occurs in webmail. For your information, if people type http://www.accoladedns.com:81/webmail/ (with the ending slash), then there will be no jump problem.

    But if they type http://www.accoladedns.com:81/webmail (without the ending slash), then it will jump to jump to http://www.abcdef.com:81/webmail
    (strange behaviour...)

    >>Have you configured ISPConfig to use the new domain?
    >>Can you login to the Conrol Panel?
     
  4. falko

    falko Super Moderator

    Please make sure that the value of ServerName is set to www.accoladedns.com in /root/ispconfig/httpd/conf/httpd.conf. Restart ISPConfig afterwards.
     
  5. createch

    createch ISPConfig Developer

    Thanks a million !!! Problem solved.
     

Share This Page