Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22
  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    54

    Default Redirecting to unprotected url

    Hello,

    When trying to login cpanel.
    We are getting redirected to unprotected url.
    For eg: If we try to access cpanels by http://domain.com/cpanel or http://domain.com:2082
    We get redirected to http://www.domain.com:2082/unprotected/redirect.html
    It says detecting your internet connection.

    Please let us know if any solution.

    Thanks in advance.

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Are you getting this error for particular one domain or all the domains belongs to your server are facing the same kind of issues?

  3. #3
    Member
    Join Date
    Dec 2007
    Posts
    54

    Default

    Hello

    We are getting this error for all the domains on our server

    Regards!
    Its_joy

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I know we recently did an update to 11.23 to resolve these issues. Try updating cPanel and see if this issue persists.

  5. #5
    cPanel Staff
    Join Date
    Mar 2007
    Posts
    113

    Default

    The http://www.domain.com:2082/unprotected/redirect.html is an iframe that attempts to meta-refresh the browser into http://www.domain.com:2082/. If that fails the browser will try to load http://cpanel.domain.com.

    The /unprotected/redirect.html URL doesn't really have anything to do with the security of the connection itself. Files in /unprotected/ are served by cpsrvd without requiring a login (which is essential to get the iframe before a login takes place.)

    If you'd rather that http://domain.com/cpanel sends users to https://www.domain.com:2083 you need to turn on the relevant option in TweakSettings ... "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc."

    Whether or not SSL is used with the secondary redirect to http://cpanel.domain.com depends on the existence of a SSL VirtualHost on the same IP address.

    This secondary redirect is only attempted if Proxy VirtualHost support is enabled in TweakSettings. When Proxy VirtualHosts are not enabled, the /cpanel redirect script will just issue a HTTP redirect as it did in the past without any iframe/javascript/etc.

    There are a few fixes related to this flow of redirect logic that are currently only in Edge, but they should be in the other 11.23 branches soon.

  6. #6
    Member
    Join Date
    Dec 2007
    Posts
    70

    Default "Detecting your internet connection..."

    Hi there

    All users on one server are seeing this message. Many have called thinking the server hacked. Is there any way to brand this page so it looks more genuine? I am running on:

    WHM 11.23.2 cPanel 11.23.3-R25946
    TRUSTIX Enterprise 2 i686 on standard - WHM X v3.1.0

    Please could you confirm that the page was produced by Cpanel (ie has not been placed by hackers) and how to proceed to remove it?

    Thanks
    Dude

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BigLebowski View Post
    Hi there

    All users on one server are seeing this message. Many have called thinking the server hacked. Is there any way to brand this page so it looks more genuine? I am running on:

    WHM 11.23.2 cPanel 11.23.3-R25946
    TRUSTIX Enterprise 2 i686 on standard - WHM X v3.1.0

    Please could you confirm that the page was produced by Cpanel (ie has not been placed by hackers) and how to proceed to remove it?

    Thanks
    Dude
    This page is placed there by cPanel/WHM and is described in the post immediately above yours.

  8. #8
    Member
    Join Date
    Nov 2003
    Posts
    332

    Default

    Hello

    If I have read right the page "detecting your internet connection" is already useful where user in under firewall or other system that filter port.. right ?

    Is possible to switch off the page "detecting your.." ?

    Thanks
    --

  9. #9
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by webstyler View Post
    Hello

    If I have read right the page "detecting your internet connection" is already useful where user in under firewall or other system that filter port.. right ?

    Is possible to switch off the page "detecting your.." ?

    Thanks
    The purpose of the page is to attempt to connect the user to port 2082. If that does not work (presumably because their firewall blocks port 2082), then they are routed through the reverse proxy to view cPanel over port 80 automatically. This allows example.com/cpanel to serve those both behind a firewall as those not behind such an aggressively configured firewall.

  10. #10
    Member
    Join Date
    Nov 2003
    Posts
    332

    Default

    Quote Originally Posted by cPanelDavidG View Post
    The purpose of the page is to attempt to connect the user to port 2082. If that does not work (presumably because their firewall blocks port 2082), then they are routed through the reverse proxy to view cPanel over port 80 automatically. This allows example.com/cpanel to serve those both behind a firewall as those not behind such an aggressively configured firewall.
    ok

    it's a way to disable this ?

    Thanks
    --

  11. #11
    cPanel Staff
    Join Date
    Mar 2007
    Posts
    113

    Default

    Yes, turn off proxydomains in TweakSettings.

  12. #12
    Member
    Join Date
    Nov 2003
    Posts
    332

    Default

    Quote Originally Posted by jdlightsey View Post
    Yes, turn off proxydomains in TweakSettings.
    I have disable this

    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)

    But when go to http://www.mysite.com/webmail (that i redirect to https) appear page "Detecting your internet connection ..."

    :/
    --

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Why not direct everyone via reverse proxy instead of using 2082? That eliminates the firewall issue...

    Question 2 that BigLebowski asked above, please brand this page or at the very least use some cPanel color schemes. Seafoam Green does not resemble cPanel at all and its causing a lot of tickets I feel would be avoided if it at least looked like it was supposed to be part of cpanel's login system.
    Attached Images
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  14. #14
    Registered User
    Join Date
    Jul 2003
    Posts
    3

    Default

    In my cPanel this beginning to happen today.. just in 1 server this happens..

    The cpanel needs to correct this!! I was afraid this morning when I saw this!!


    []'s Luiz Passarelli

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by myusername View Post
    Why not direct everyone via reverse proxy instead of using 2082? That eliminates the firewall issue...
    Because only ~95% of functionality works behind the reverse proxy. If you want full 100% functionality, it's best to still use port 2083 (or 2082 for those on plain-text connections)

Similar Threads & Tags
Similar threads

  1. Support Request link in cPanel is not redirecting to new URL
    By lori in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-13-2010, 10:20 PM
  2. configure support request redirecting to an url
    By wanrenqingkong in forum New User Questions
    Replies: 2
    Last Post: 11-03-2009, 07:12 PM
  3. redirecting to an url with ? in it? [moved]
    By HendrikGent in forum New User Questions
    Replies: 3
    Last Post: 10-03-2006, 05:10 PM
  4. Redirecting to an URL with query string [moved]
    By DeadManWalking in forum New User Questions
    Replies: 4
    Last Post: 02-07-2006, 07:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube