Website on port 81,82 (virtualhosts)

Discussion in 'Installation/Configuration' started by Ripeed, Feb 14, 2012.

  1. Ripeed

    Ripeed Member

    Hi, I want to have two information webs one on port 81 and second on port 82.

    On the Microtik I will send some ip adresess to ip adress of server like 123.123.123.123:81. And there I need to have web.

    On the server I have ISPconfig3 and webmin. I tryed add virtualhosts and nothing.

    Please, do you have any advice? Thanks a lot!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig does not have support for using ports other than 80 (http) and 443 (https).
     
  3. Ripeed

    Ripeed Member

    If I cant do that in ISPconfig interface, then can I do that by webmin? Or manually create virtual?

    Or on the server with ispconfig I finally cant use port 81?
     
  4. Ripeed

    Ripeed Member

    I am trying open ports 81,82 by the iptables I add:

    iptables -I INPUT -p tcp --dport 81 -j ACCEPT

    And when I am testing it looks like closed:( I must do some additional?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Yes, you can create vhosts manually that run on port 81 or 82, but please keep in mind that you cannot manage these vhosts with ISPConfig.
     
  6. Ripeed

    Ripeed Member

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you configured apache to listen on thes eports?
     
  8. Ripeed

    Ripeed Member

    :) Thanks Till to kick me.
    It is new for me.

    If somebody looks on thist thread, this is how I open it:

    Solution is EASY: Add to /etc/apache2/ports.conf
    This lines:
    Listen 81
    Listen 82

    Then /etc/init.d/apache2 reload
     

Share This Page