Skip to main content

Second https port for Apache

Comments

3 comments

  • quizknows
    Personally I would just create a self-signed certificate for the sub domain in WHM and install it for testing purposes.
    0
  • cPanelMichael
    Obvious problem here: I can't test SSL on the subdomain because I own no certificate for that.

    Hello :) You could install a separate self-signed SSL certificate for the subdomain, as mentioned in the previous post, as long as you are using an OS that supports SNI (e.g. CentOS/RHEL/CloudLinux 6 or higher). Thank you.
    0
  • sparek-3
    Add a Listen command to one of the Apache include files, i.e /usr/local/apache/conf/includes/pre_main_2.conf
    Listen 0.0.0.0:3000
    Then add a VirtualHost entry for the subdomain in another include file, i.e. /usr/local/apache/conf/includes/pre_virtualhost_2.conf
    . . . SSLEngine on SSLCertificateFile ... SSLCertificateKeyFile ... SSLCACertificateFile ... . . .
    Restart Apache Make sure port 3000 is open in your firewall.
    0

Please sign in to leave a comment.