Change httpd port number to other port than 80 and 443
Category: How To
I wish to use port 80 and 443 for my java application. This ports is taken by apache http by default. I have to modify to apache.conf but it seems it would revert back to port 80 and 443. What is the correct steps to alter the apache listen port number?
You can alter the Apache port configuration via the WHM. You will need root access to do so, however. Once in the WHM, go to the Tweak Settings page. From there, scroll to the bottom. You will see two settings for the Apache ports, one for the non-ssl and one for the ssl. You can set them there so they will not revert back to the original 80 and 443.
Like this Question? Tweet