Change the port settings of only one domain.
I know that using 'Tweak settings' I can change the apache port from 80 to 8080 so that I can run Varnish on port 80 and redirect it to port 8080.
But in my case I have many websites running on my VPS. I need all the sites to continue running on port 80, whereas only one domain domainX needs to run on port 8080.
I want to know what is the best practice for this in cpanel. I also want the changes to be keep even after restarting the system :)
-
Hello :) The following document explains how to apply a change to a single virtualhost so that it is preserved during updates: Changes Contains Within A VirtualHost Thank you. 0 -
[quote="cPanelMichael, post: 1594131">Hello :) The following document explains how to apply a change to a single virtualhost so that it is preserved during updates: Changes Contains Within A VirtualHost Thank you.
I have folders only till the path /usr/local/apache/conf. So does that mean I will have to create remaining part of the path or is there something wrong with my current settings?0 -
You will need to create the directories and files that are described in the documentation. They do not exist on a default cPanel installation. The documentation mentions this: [QUOTE]The include directory structure is not created automatically. You will need to create and use the following file structures 0
Please sign in to leave a comment.
Comments
3 comments