Web Server offline with a different port

Discussion in 'Installation/Configuration' started by kkng, Jun 2, 2009.

  1. kkng

    kkng New Member

    I recently set up LAMP + ISPConfig. Everything seems to be working fine, except Web Server showing offline in ISPC3. Im using a different port instead of the standard port. If I add Listen 127.0.0.1 in httpd.conf it give me an error "Address already in use"? Can you shed some light on me please.

    firewall is off.

    Thank you.
     
    Last edited: Jun 2, 2009
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    If you use a different port than 80 ispconfig will not recognize apache is running. ispconfig checks for a listening port 80 to show if apache is running.
     
  3. kkng

    kkng New Member

    Solved

    I think I found the answer, here is what I changed: (Centos5.3, ISPConfig3.0.1)

    in /usr/local/ispconfig/server/conf/vhost.conf.master
    change <VirtualHost <tmpl_var name='ip_address'>: your_port>

    in /usr/local/ispconfig/server/conf/apache_ispconfig.conf.master
    change NameVirtualHost {tmpl_var name="ip_address"}:your_port

    restart httpd, it is now showing Web server online in ISPC3
     

Share This Page