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.

Question puzzled me

Discussion in 'Data Protection' started by 0101, May 13, 2010.

  1. 0101

    0101 Active Member

    Joined:
    Apr 2, 2010
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi
    I have a question you can change the Port whm/cpanel
    Or is it impossible to
    Is it valid through config cpanel??????
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Ports are coded into the software

    The cPanel, WHM and Webmail ports are hard-coded into the software, and it is not possible to change them.

    For what purpose do you want to change the ports? If you have a customer who cannot access the ports because of a firewall, cPanel has the proxy virtualhost feature, which allows you to access cPanel, for example, using http://cpanel.domain.tld, with all access occurring over port 80 instead of 2082 or 2083.

    Also, if the port numbers are hard to remember, the /cpanel, /webmail and /whm aliases redirect to the appropriate ports, using the format http://domain.tld/cpanel.
     
  3. 0101

    0101 Active Member

    Joined:
    Apr 2, 2010
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    I understand that you can not change your port cpanel
    I wanted to change the port for safety only to mislead the hacker
    Another question, Can I make that any person entering the port of cpanel 2086, 2082
    Automatically switches to use the SSL port
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In the WebHost Manager, in Main >> Server Configuration >> Tweak Settings, there are two settings that apply to your question.

    The first, under the Redirection heading, is "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc."

    The second, under the Security heading, is "Require SSL for all remote logins to cPanel, WHM and Webmail. This setting is recommended."

    Enabling both of these options will effectively force all connections to the cPanel service to be made to the SSL-enabled ports.
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    That is utterly and completely pointless and would do NOTHING for you! :rolleyes:

    Yes! This you can do! See "Tweak Settings" in WHM
     
Loading...

Share This Page