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.

Subdomain Without Port Numbers

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    319
    Likes Received:
    23
    Trophy Points:
    18
    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.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    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 ?
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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