Second ip or proxy ? step by step

Discussion in 'Installation/Configuration' started by edony44, Nov 15, 2006.

  1. edony44

    edony44 New Member

    Hi,

    ISPONFIG is great !! :D
    But ... i would like to have access to the panel everywhere
    but often, i can't connect to ispconfig because the port 81 is closed !

    So i've read some post about proxy or a second ip but i don't see a good solution .

    I'm on ubuntu 6.10 i can install a proxy and i've 2 connection to my gateway ( router ) so i can have 2 ip simultaneous .
    Well if you have some time to give me a step by step notice ... :eek:

    Regards
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    If you have an unused second public IP address, you can use that for ISPConfig.
    If you have the IP addresses 1.2.3.4 and 1.2.3.5 and use 1.2.3.4 for your web sites, then modify your main Apache's configuration and change
    Code:
    Listen 80
    to
    Code:
    Listen 1.2.3.4:80
    and in /root/ispconfig/httpd/conf/httpd.conf you change
    Code:
    Listen 81
    to
    Code:
    Listen 1.2.3.5:80
    Then restart your main Apache and ISPConfig.
     
  3. edony44

    edony44 New Member

    Well

    it doesn't work
    i can have access to my websites but not to ispconfigs..
    I've try to add 192.168.0.13 mywebsitename name
    in /etc/host but nothing change ..
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please post the output of:

    netstat -tap
     
  5. edony44

    edony44 New Member

    FOund

    I think that the problem came from my gateway ..

    I don't know if i can redirect the 80 port to 2 ip .
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    No, that doesn't work.
     

Share This Page