Problems with same hostnames on different domains

Discussion in 'Installation/Configuration' started by rainynight65, Jan 28, 2006.

  1. rainynight65

    rainynight65 New Member

    Hi,

    I seem to have a problem with the following scenario:

    I have two different domains, and I would like to have a subdomain called webmail for each of them, like this:

    domain1.tld
    webmail.domain1.tld


    domain2.tld
    webmail.domain2.tld


    With the first domain that worked out perfectly, but with the second one I run into problems. I can create the site alright, but when i try to access it in the browser, I get a 'Server not found' error. It is however resolved properly by the DNS. If I rename the site to e.g. mail, so that it looks like

    mail.domain2.tld

    everything works as it is supposed to.

    I run ISPConfig 2.12 on a Debian 3.1 box.

    Any advice?

    Best Regards

    Alex
     
  2. falko

    falko Super Moderator ISPConfig Developer

    When you create webmail.domain1.tld in ISPConfig, you should go to the Co-Domains tab afterwards and remove the Co-Domain domain1.tld (with no host!) afterwards. This Co-domain is created by ISPConfig automatically.
     
  3. rainynight65

    rainynight65 New Member

    I am not sure why, but that did it. Thanks for the advice.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Because web1 is domain1.tld, and in web2 (webmail.domain1.tld) you have domain1.tld as Co-Domain which means these two conflict.
     

Share This Page