Cannot access ISPConfig control panel via https:www.domain.com:81

Discussion in 'Installation/Configuration' started by isengaurd, Sep 26, 2010.

  1. isengaurd

    isengaurd New Member

    I have a problem accessing the Ispconfig control panel via https://www.sitename.com:81. I am running the Perfect Server setup on Debian Lenny. All of my sites resolve properly and my mailserver is perfect. I can access the control panel via https://lanip:81, but that is the only way I have access to it. I tried regenerating the certificates as well,

    Code:
    openssl genrsa -des3 -passout pass:yourpassword -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024
    openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365
    openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365
    openssl rsa -passin pass:yourpassword -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key
    chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key
    but it didn't fix it. All of the proper ports on my router are forwarded.

    netstat -tapn returns

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:43106           0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:548             0.0.0.0:*               LISTEN      3582/afpd
    tcp        0      0 0.0.0.0:901             0.0.0.0:*               LISTEN      3174/inetd
    tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      2184/amavisd (maste
    tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      11798/master
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      2248/mysqld
    tcp        0      0 0.0.0.0:51823           0.0.0.0:*               LISTEN      3145/rpc.mountd
    tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1792/portmap
    tcp        0      0 0.0.0.0:81              0.0.0.0:*               LISTEN      11670/ispconfig_htt
    tcp        0      0 192.168.2.20:53         0.0.0.0:*               LISTEN      11830/named
    tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      11830/named
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2157/sshd
    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      3085/cupsd
    tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      2329/postgres
    tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      11830/named
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      11798/master
    tcp        0      0 0.0.0.0:42206           0.0.0.0:*               LISTEN      1804/rpc.statd
    tcp        0      0 192.168.2.20:38740      192.168.2.90:445        ESTABLISHED -
    tcp        0    300 192.168.2.20:22         192.168.1.1:4668        ESTABLISHED 19158/4
    tcp6       0      0 :::993                  :::*                    LISTEN      3049/couriertcpd
    tcp6       0      0 :::995                  :::*                    LISTEN      3067/couriertcpd
    tcp6       0      0 :::139                  :::*                    LISTEN      3262/smbd
    tcp6       0      0 :::110                  :::*                    LISTEN      3055/couriertcpd
    tcp6       0      0 :::143                  :::*                    LISTEN      3037/couriertcpd
    tcp6       0      0 :::80                   :::*                    LISTEN      11712/apache2
    tcp6       0      0 :::21                   :::*                    LISTEN      11843/proftpd: (acc
    tcp6       0      0 :::22                   :::*                    LISTEN      2157/sshd
    tcp6       0      0 ::1:631                 :::*                    LISTEN      3085/cupsd
    tcp6       0      0 ::1:5432                :::*                    LISTEN      2329/postgres
    tcp6       0      0 ::1:953                 :::*                    LISTEN      11830/named
    tcp6       0      0 :::25                   :::*                    LISTEN      11798/master
    tcp6       0      0 :::443                  :::*                    LISTEN      11712/apache2
    tcp6       0      0 :::445                  :::*                    LISTEN      3262/smbd
    
    I have also tried restarting the ispconfig_server several times as well as physically rebooting the machine.

    From what I have read of the forums, it would appear that port 81 is being blocked. I have checked my router and the Bastille conf. files and 81 is allowed and properly forwarded.

    I have physical access to the server; I host from home. In the past, (I've been running ispconfig for a while) I have never had this problem. I am not new to linux, but I'm no guru either so, please be gentle. Any ideas on this are very welcome and much appreciated.

    Isengaurd
     
  2. falko

    falko Super Moderator

    Does www.sitename.com point to your public IP address? You can check that by running
    Code:
    dig www.sitename.com
     
  3. isengaurd

    isengaurd New Member

    Yes, the command returns the proper ip. I have done a port scan from an external ip and found that the port is closed. I'm checking my hardware map to see if this could be the cause. I'll edit this post with the results.
    -----
    *Blushes*
    I feel like such an idiot. I just spent the better part of 3 days looking for a problem that was fixed by changing a '1' to a '2' in the port forward section of the router configuration. Call this one solved.
     
    Last edited: Sep 27, 2010

Share This Page