Skip to main content

Webmail subdomain not working

Comments

73 comments

  • lferreira
    webmail ssl loop Hi everyone, after getting a valid SSL certificate, I've went on SSL/TLS >> Install an SSL Certificate on a Domain and (know it was wrong) fill there the certificate for webmail..com after that, everytime I try to access webmail happens this: http://webmail..com redirects to
    0
  • cPanelMichael
    Re: webmail ssl loop Hello :) Could you let us know which version of cPanel is installed on your system? cat /usr/local/cpanel/version
    Thank you.
    0
  • lferreira
    Re: webmail ssl loop Hi, version is 11.42.1.11 thanks
    0
  • cPanelMichael
    Re: webmail ssl loop Feel free to open a support ticket using the link in my signature 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.
    0
  • lferreira
    Re: webmail ssl loop After digging in, I've found the solution. changing the SSL certificates as discribed above caused cpanel some bug, altering httpd.conf in the following line of the http redir to: [QUOTE]# CPANEL/WHM/WEBMAIL/WEBDISK/AUTOCONFIG PROXY SUBDOMAINS 30.31.32.32:443 30.31.32.33:80>
    this line was causing the redirect of https to be captured by http rules (forward to https) causing this was the loop hope this helps someone in the future Cheers [COLOR="silver">- - - Updated - - - also, a quick way of fixing if was telling cPanel to generate a new httpd.conf by running [QUOTE]/usr/local/cpanel/bin/build_apache_conf
    0
  • cPanelMichael
    Re: webmail ssl loop Please ensure you open a support ticket if you are able to reproduce this issue with the same actions so we can investigate further. Thank you.
    0
  • kumar1236
    I am able to solve this by adding a rewrite to Global Post VirtualHost Include in {# /usr/local/cpanel/cpanel -V 11.42.1 (build 5)} In WHM -> Server Configuration -> Tweak Settings -> Domains, turned off Proxy subdomains. In WHM -> Service Configuration -> Apache Configuration -> Include Editor, we added the following to the Post VirtualHost Include config file (replace SERVER_IP with your IP, of course) ServerAlias webmail.* # Redirect webmail.domain.tld to domain:2096 for cPanel Webmail RewriteEngine on RewriteCond %{HTTP_HOST} ^webmail\.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/webmail$1 [R=301,L]
    0
  • weergave
    The page is not redirecting properly by The page is not redirecting properly by Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies. I can not fix it
    0
  • Infopro
    Re: The page is not redirecting properly by If there's an .htaccess file in your public_html directory, try renaming it to htaccess.txt and then open the webpage again and see if it works.
    0
  • weergave
    Re: The page is not redirecting properly by when I go to cpanel.domain.be I get this This webpage has a redirect loop Reload
    0
  • Infopro
    Re: The page is not redirecting properly by Ah. That's a different situation I believe. What happens when you go to domain.com/cpanel that should work. Can you look at the left side of your cPanel and see what version of cPanel you're on? You may need to contact your Hosting Provider about this and ask them to update cPanel. I believe there was a fix pushed out for the issue you've having.
    0
  • AugmentBLU
    Redirect Loop For .cpanel Subdomain Hello, I have all my sites hosted on my server with access to a .cpanel subdomain, this subdomain is the default access for each domain cpanel basically. I added a subdomain to one of the sites and now the .cpanel subdomain is stuck in a loop, although other subdomains work fine. I've checked the htacess and the DNS editor but I don't see any issues. What would be causing this redirect loop only on the .cpanel subdomain on a certain account only? Thanks!
    0
  • samachosting
    Re: Redirect Loop For .cpanel Subdomain Hi AugmentBLU, Can you post the content of the htaccess file here ?
    0
  • Sambe
    I got same error on version WHM 11.42.1 (build 12). If i use https://webmail.domain.com thats wont open but if put :2096 everythings works. Most of customers use webmail.domain.com thats is little bit problem.
    0
  • manuel.sousa
    Re: Redirect Loop For .cpanel Subdomain [quote="samachosting, post: 1630451">Hi AugmentBLU, Can you post the content of the htaccess file here ?
    I started having the same issue when i create a new account. At least in my case, as a workaround if you do a /scripts/rebuildhttpdconf it fixes the configuration.
    0
  • danielg1b03RfJv
    Hello, same problem with http and
    0
  • cPanelMichael
    Re: Redirect Loop For .cpanel Subdomain Hello :) Yes, we would need to see the .htaccess file contents to diagnose the issue. Thank you.
    0
  • Infopro
    Re: Redirect Loop For .cpanel Subdomain [quote="AugmentBLU, post: 1630432">Hello, I have all my sites hosted on my server with access to a .cpanel subdomain, this subdomain is the default access for each domain cpanel basically. I added a subdomain to one of the sites and now the .cpanel subdomain is stuck in a loop, although other subdomains work fine. I've checked the htacess and the DNS editor but I don't see any issues. What would be causing this redirect loop only on the .cpanel subdomain on a certain account only? Thanks!
    I'm assuming you mean cpanel.domain.com, being the cPanel proxy URL. WHM " Server Configuration " Tweak Settings, Domains section: [QUOTE] Proxy subdomains [?] Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy) Proxy subdomain creation [?] Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
    If yes, I believe this issue was resolved in a recent update: 11.42 Change Log - cPanel Changelog [QUOTE]2014-04-15 Fixed case 97417: Corrected behavior of cPanel proxies seen on certain servers.
    0
  • Yashas
    Redirect Loop When I visit my cPanel sub domain, I get an error saying "This web page has a redirect loop".I can't access my cPanel. How do I get my cPanel access back? Thanks
    0
  • weergave
    Re: The page is not redirecting properly by [quote="Infopro, post: 1629582">Ah. That's a different situation I believe. What happens when you go to domain.com/cpanel that should work. Can you look at the left side of your cPanel and see what version of cPanel you're on? You may need to contact your Hosting Provider about this and ask them to update cPanel. I believe there was a fix pushed out for the issue you've having.
    this is my problems on my cpanel vps version WHM 11.42.1 (build 12)
    0
  • prazgod
    Re: webmail ssl loop Just for the record I had exactly the same issue. my cPanel version is 11.42.1.12 running /usr/local/cpanel/bin/build_apache_conf fixed the issue after apache restart
    0
  • Infopro
    Multiple threads on same topic, merged here.
    0
  • lupetalo
    I am on 11.42.1 build 12 and still have issues. If proxy subdomains enabled on account/subdomain/addon domain adding, apache config fails and rebuild must be done and apache restarted. If proxy subdomains disabled everything is working. What is status of this?
    0
  • Infopro
    Have you seen the suggestions in this thread above?
    0
  • lupetalo
    yes and i need not temporal but permanent fix...
    0
  • Infopro
    it is fixed, as mentioned in this thread just a few posts up.
    0
  • lupetalo
    It is not fixed. Still error after adding account.
    0
  • Infopro
    And logged in as root, you ran this command on the server correct? /usr/local/cpanel/bin/build_apache_conf
    You might like to open a ticket to cPanel Technical Support so they can come by for a closer look.
    0
  • lupetalo
    did that long time ago, stil same 4878331
    0
  • Infopro
    [quote="lupetalo, post: 1632872">did that long time ago, stil same 4878331
    As you know, you opened the ticket just last night, and have been in contact with Technical Support. Last reply a few hours ago. Your issue in that ticket reads a bit different than the one in this specific thread. Best to stick with that ticket if the issue is ongoing for you to get it resolved. Thanks.
    0

Please sign in to leave a comment.