Question I looked at a couple of forums on how to get the default port from 80 to 8080 without luck. Can somebody please explain how to do this? Thank You
In your main Apache configuration you must change Code: Listen 80 to Code: Listen 8080 Change 80 to 8080 in Vhosts_ispconfig.conf as well. Restart Apache afterwards. And in the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php, you must change 80 to 8080,too.
OK I changed the port in the Apache listen from 80 to 8080 then when i went to the /root/ispconfig/scripts/lib/config.lib.php to look for the other port to change i only found one place that I can change the port 80to 8080 if($apache_version == 2){ $fp_resource_config = ""; $fp_access_config = ""; $web_port = ":8080"; in the make_vhost() I don't have any port 80 there. I do have function make_vhost($server_id). When I now go back to the console the web server says it's offline. I did restart the server.
Did you change Vhosts_ispconfig.conf as well? That's the function I'm talking about. Any errors in Apache's error log? What's the output of Code: httpd -t ?
When I change make_vhost($server_id) do it suppost to look like this make_vhost($8080) or make_vhost(8080)? Yes I change all the ports 80 to port 8080 in the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf When I run the httpd -t command it say Syntax OK
You can not set the port number as parameter of the make_vhost function! You must change the code inside this functoon to write the port 8080 instead of 80. Thats a bad idea. Never change this file manually, all your changes will be removed by ISPConfig.