How to set up AutoSSL on different port
-
Hello @TechBill, The updated instructions for EasyApache 4 are available on the following link: However, can you confirm if all domains are using the custom port? Or, do you host a mixture of domains with some using the custom port and others using the default port? If all domains are using the custom port, you can simply browse to WHM >> Tweak Settings and modify the port next to the following option under the System tab: Apache SSL port Otherwise, you'd need to consider modifying the Apache template for individual virtual hosts per the instructions in the above document. I would need to make a local copy of the ssl vhost template and change this line to by adding port 10000?
No, those are entries for the Service Subdomains feature (e.g. cpanel.domain.tld). Here's a link to a thread you may want to use as a point of reference if you are open to using ProxyPass entries to redirect requests from the custom port to the standard port on an individual domain's SSL virtual host: Thank you.0 -
I come to this topic to ask the same question or almost. My domain after expiration of the ssl certificate and renewal with AutoSSL is not accessible via port 8080 in ssl. When I do domain.com:8080/resources I get a message <> while my certificate is valid. I tried to follow the documentation that talks about modifying the vhost with *.local but at the end when I put this script below in a file to run it I get an error beacuase of ")" [CODE=bash]perl -MYAML::Syck -e \ 'my $hr = YAML::Syck::LoadFile($ARGV[0]);$hr->{$ARGV[1]} = $ARGV[2];YAML::Syck::DumpFile($ARGV[0],$hr);' \ /var/cpanel/userdata/username/domainname custom_vhost_template_ap2 path/to/template
So I would like to know how I can make my site accessible on port 8080 or other with ssl. The port is already open on the firewall. I am under centos 7 with cpanel0
Please sign in to leave a comment.
Comments
5 comments