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!

Subdomain Without Port Numbers

Discussion in 'Bind/DNS/Nameserver' started by aramisathei, Mar 18, 2016.

  1. aramisathei

    aramisathei Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Hello,
    I've setup cpanel to proxy the various subdomains, but some of the places I need to access it block services that direct to ports i.e. https://cpanel.mydomain.com:2083

    Is there an effective way to modify the httpd re-write so that it displays https://cpanel.mydomain.com (and not the port numbers)?
    I think this is something proxypass would cover, but I haven't had any luck sorting it out.
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    create subdomain cpanel/domain name

    download cpanelproxy tar file under the subdomain directory.
    extact tar file and change ownership for all files.
    Now access cpanel/domain name you will see without port.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    The entire intent of the proxy subdomains is so that the port numbers are not needed. What happens when you access https://cpanel.mydomain.com ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. aramisathei

    aramisathei Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator
    It redirects to https://cpanel.mydomain.com:2083, which prevents me from accessing it (and webmail) on some networks due to the addition of the port number.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on how you have enabled proxy subdomains? Have you made any manual configuration changes? Documentation on the expected behavior for proxy subdomains with SSL is found at:

    Proxy Subdomains Use the cPanel Service SSL - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. aramisathei

    aramisathei Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator
    I enabled nDeploy some time ago, and from what I'm tracking nginx handles all non-SSL traffic, and passes everything else to apache.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. aramisathei

    aramisathei Registered

    Joined:
    Mar 18, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Thanks for your help with this. Ticket created (#7500349).
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice