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.

How to install SSL to other port, like 8001 for using with Secure Web Sockets?

Discussion in 'General Discussion' started by SelyukCorp, Mar 14, 2014.

  1. SelyukCorp

    SelyukCorp Registered

    Joined:
    Mar 9, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    How to install SSL to other port, like 8001 for using with Secure Web Sockets? This is HTTP protocol, but instead Apache port listening my own daemon.
     
  2. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    Via SSH..
    Code:
    cd /var/cpanel
    Then:
    Code:
    sudo vi cpanel.config
    After that:
    Change "apache_ssl_port=0.0.0.0:443" to "apache_ssl_port=0.0.0.0:new_port" (Replace new_port with your port number)

    Finally, run:

    Code:
    sudo /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    I think this will work. I've never needed to do it, personally.

    Good luck.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could also make this change via Web Host Manager. Browse to the "System" tab in "WHM Home » Server Configuration » Tweak Settings" and edit the port for the following option:

    "Apache SSL port"

    Per it's description:

    Thank you.
     
Loading...

Share This Page