Configure two servers with virtual hosting

Discussion in 'Installation/Configuration' started by gimhan90, Feb 23, 2006.

  1. gimhan90

    gimhan90 New Member

    HI..
    Please let me know how to solve this.I need to run two servers (apache and sun applicatione server) on SUSE.both servers need to have virtual hosting.I have to static IP addresses.If i assign default http port (80) to a one server i am unable to use 80 in another.how do i solve this.IF i can set an IP to port 8080 this problem is OK.how do i assign port 8080 as default http litener port?Can i do this with iptables?
     
  2. till

    till Super Moderator

    Have a look in your httpd.conf, there you can change the port apache listens on.

    The config directive is named "listen". The port might be specified also in the vhost directives.
     

Share This Page