ISPConfig Installation complete but Cannot access page with IP (Debian 3.1)

Discussion in 'HOWTO-Related Questions' started by alexan, Dec 23, 2006.

  1. alexan

    alexan New Member

    Hi,

    I managed to install ISPConfig successfully on Debian 3.1
    (using the perfect installation guide by Falko)

    The problem is that I do not currently have a domain pointing
    to my server.. so i need to use the IP address to access the
    software...

    so i got:
    Please direct your browser to
    https://www.xyz.org:81
    and log in:
    Username: admin
    Password: admin

    but I cannot access anything with my IP
    e.g. https://www.123.243.34.34.org:81

    How can I access the page using my IP

    Thanks a lot,
    Alex
     
  2. Naeh

    Naeh New Member

  3. alexan

    alexan New Member

    Thanks Naeh,

    i had used https://123.243.34.34:81 and i still cannot connect (i misspelt the www earlier sorry!)

    Any ideas?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, when you use a IP to connect to a server, use only the numbers as www is part of the domainname :)
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the output of:

    netstat -tap
     
  6. alexan

    alexan New Member

    Hi Till,

    This is the output of netstat -tap

    xyz.org is the domain that i do not have yet (not the real one of course)

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                                     PID/Program name
    tcp        0      0 localhost.localdo:mysql *:*                     LISTEN     2                                                                              0165/mysqld
    tcp        0      0 *:www                   *:*                     LISTEN     6                                                                              289/apache
    tcp        0      0 *:auth                  *:*                     LISTEN     1                                                                              756/inetd
    tcp        0      0 *:81                    *:*                     LISTEN     1                                                                              7958/ispconfig_htt
    tcp        0      0 *:ftp                   *:*                     LISTEN     1                                                                              8111/proftpd: (acc
    tcp        0      0 xyz.org:domain      *:*                     LISTEN     1                                                                              8098/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN     1                                                                              8098/named
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     1                                                                              8098/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     1                                                                              8081/master
    tcp        0      0 *:https                 *:*                     LISTEN     1                                                                              5586/apache-ssl
    tcp        0      0 localhost.localdoma:ftp localhost.localdo:32912 TIME_WAIT  -                                                                              
    tcp        0      0 localhost.localdo:32911 localhost.localdoma:www TIME_WAIT  -                                                                              
    tcp6       0      0 *:imaps                 *:*                     LISTEN     1                                                                              7735/couriertcpd
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     1                                                                              7652/couriertcpd
    tcp6       0      0 *:pop3                  *:*                     LISTEN     1                                                                              7596/couriertcpd
    tcp6       0      0 *:imap2                 *:*                     LISTEN     1                                                                              7687/couriertcpd
    tcp6       0      0 *:ssh                   *:*                     LISTEN     1                                                                              762/sshd
    tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     1                                                                              8098/named
    tcp6       0      0 *:smtp                  *:*                     LISTEN     1                                                                              8081/master
    tcp6       0      0 xyz.org:ssh         athedsl-06868.ote:58691 ESTABLISHED2                                                                              7040/sshd: root@no
    tcp6       0   2816 xyz.org:ssh         athedsl-06868.ote:58716 ESTABLISHED2                                                                              7082/0
    Looks ok? no? but still cannot access the server via IP

    Alex
     
    Last edited: Dec 23, 2006
  7. alexan

    alexan New Member

    also if go to:
    http://123.243.34.34:81

    i get this:

    but still https://123.243.34.34:81 does not work

    could it be because I have installed apache1.3 and not apache2?
    and that i am running both apache and apache-ssl (that is how debian does it)?

    and if so how do i correct this?
     
    Last edited: Dec 23, 2006
  8. falko

    falko Super Moderator ISPConfig Developer

    I guess you created an invalid SSL certificate during ISPConfig installation (you should have accepted the default values).

    What's the error message you get when you use Firefox to connect to https://123.243.34.34:81?
     
  9. alexan

    alexan New Member

    my debian 3.1 installation was just like the recommenced perfect set up
    except that i used apache 1.3 and there were 2 apache
    installations one normal and one for ssl (different folders and
    different http.conf using the apt-get apache-ssl package)

    and checked the ispconfig installation files
    and it seemed to have recognized only
    my normal apache (not the ssl).. i think
    that is the reason why it did not work..

    the error message did not say anything about invalid
    certificates.. it could not even connect.. my certificates
    were invalid (not from an authority).. but it should have
    asked whether i accept to use them no?

    so now i have uninstalled everything and i will try to
    create ONE apache installation with one
    httpd.conf file...

    Could this be the right way to go?
     
  10. Hans

    Hans Moderator ISPConfig Developer

    ISPConfig makes use of its own apache webserver listening to port 81.
    The websites you are going to create with ISPConfig are published via http port 80.

    If you try to setup ISPConfig using only 1 apache webserver instead of 2, ISPConfig will not work as it should!

    I think that FAlko is right, probably something was not going right when you've setup the certificates.

    Maybe it is also possible that port 81 is blocked within your router/gateway or whatever.
     
  11. falko

    falko Super Moderator ISPConfig Developer

Share This Page