Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

webmail.domain not working

Discussion in 'E-mail Discussions' started by alcest, Nov 17, 2016.

  1. alcest

    alcest Member

    Joined:
    Aug 10, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    Hi

    webmail.domainA.com
    webmail.domainB.com
    webmail.domainC.com
    webmail.domainD.com

    were working since all domains were under one shared IP.
    Now:
    Shared old IP - 888.888.888.888
    webmail.domainA.com
    - Shared old IP - ovh.hostname.com
    webmail.domainB.com
    - Shared old IP - ovh.hostname.com
    - here is ok, and i can get redirected to https://hostname.com:2096

    But:
    webmail.domainC.com - IP: 111.222.111.222 (example)
    webmail.domainD.com - IP: 555.666.555.666 (example)
    Not working:
    Page Not found.
    When I try webmail.domainD.com/webmail or :2096 - webmail works.
    Tried to do sth with Tweak>>Proxy

    And one more thing. Why webmail.domainB.com brings me to https://hostname.com:2096 and not to : domainB.com:2096

    http.conf
    Code:
    <VirtualHost 111.222.111.222:80 555.666.555.666:80 888.888.888.888:80 >
      ServerName ovh.hostname.com
    
      ServerAlias cpanel.* whm.* webmail.* webdisk.* cpcalendars.* cpcontacts.*
    ...
      RewriteCond %{HTTP_HOST} !^ovh.hostname.com$
      RewriteCond %{HTTP_HOST} ^webmail.
      RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
    />
    
    
    <VirtualHost 111.222.111.222:443 555.666.555.666:443 888.888.888.888:433 >
      ServerName ovh.hostname.com
    
      ServerAlias cpanel.* whm.* webmail.* webdisk.* cpcalendars.* cpcontacts.*
    ...
      RewriteCond %{HTTP_HOST} !^ovh.hostname.com$
      RewriteCond %{HTTP_HOST} ^webmail.
      RewriteRule ^/(.*) http://127.0.0.1:2096/$1 [P]
    />
    
    And WHY only Old-Shared_IP domains working ok while domains new separate IP's doesn't?

    My WHM version: WHM 58.0 (build 36)
     
    #1 alcest, Nov 17, 2016
    Last edited by a moderator: Nov 17, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Is this server setup under a NAT environment? If so, could you review the correct IP addresses are specified in the /var/cpanel/cpnat file? Also, was the shared IP changed completely, or were accounts simply updated with new IP addresses and the previous shared IP address remains in-place?

    Thank you.
     
  3. alcest

    alcest Member

    Joined:
    Aug 10, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    Maybe there was sth unclear in my message.

    Accounts with shared IP - works fine.
    Accounts with new IPs - Works fine: domain, subdomains, and domain/webmail or domain/cpanel etc.
    Only problem with new domains was with system subdomains: webmail.domain and etc.
    DNS were fine, SOA, PTR, TXT and etc were replace with new IP adresses.
    Pinging domain gave proper results with new IP adressation.

    But what is the most strange, is the fact that after about 3-4 hours everything started to work. But why?
    This is very strange after all my test, switching Proxy in tweaks and other solutions found it started to work "just like that"...

    Best regards
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I've been unable to reproduce this issue on a test system. Is it possible that it related to browser/DNS cache on the workstation, or was it reproducible from multiple users/systems?

    Thank you.
     
  5. alcest

    alcest Member

    Joined:
    Aug 10, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    Yes, I've tested on many systems. From inside my network, and from secondary (different ISP), and from mobile devices. From IE, Edge, Firefox up to Chorme. I've cleared cache on desktop, than on DNS Server. Nothing help... I would understand if the ping for domain could be ... mixed. When once reply was from FirstIP and then from SecondIP. But when every reply was from new one I couldn't figure who this happend. This wasn't proxy system failure, bacause the Shared (old) IP services were fine. Only new ones.
    Maybe some logs could be helpfull, but this is rather for private message, and I should made some cuts-out on them. If so - please point the one You would need.
    I hope my english is fine enough to make my thoughs understandable :)

    Best regards
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page