Run web page on different port with ISPConfig

Discussion in 'General' started by stefki, May 20, 2009.

  1. stefki

    stefki New Member

    I have Fedora Core 9 installed and ISP Config, my ISP config works on 75 port, i like my created pages in ISP Config to be runned on 1717 not 80, is it possible to change the default port of the web pages ??

    tnx
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to change the ispconfig code for this. The code must be in the make_vhost function in the config.lib.php file
     
  3. stefki

    stefki New Member

    Do i need to change the following code?

    if ($apache_version == 2) {
    $web_port = ":80";
    $ssl_port = ":443";


    thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's right.
     

Share This Page