Ubuntu 16.04 nginx - browser port 8080 - issue - failed

Discussion in 'Installation/Configuration' started by Jedrzej82, Sep 1, 2017.

  1. Jedrzej82

    Jedrzej82 New Member

    I follow the tutorial
    https://www.howtoforge.com/tutorial/perfect-server-ubuntu-with-nginx-and-ispconfig-3/
    and I'm stuck on
    third page:

    "16. Install ISPConfig 3.1"

    "
    Afterwards you can access ISPConfig 3 under http(s)://server1.example.com:8080/ or http(s)://192.168.1.100:8080/ ( http or https depends on what you chose during installation). Log in with the username admin and the password admin (you should change the default password after your first login):
    "

    but when I put on my web browser address:

    http(s)://IP:8080/ or http(s)://vps1.example.com:8080/ or http(s)://example.com:8080/
    (I don't won't too write here my domain or IP address)


    My browser try to connect to my VPS and after few moments I get error: ERR_CONNECTION_TIMED_OUT
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Jedrzej82 likes this.
  3. Jedrzej82

    Jedrzej82 New Member

    [email protected]:/etc/nginx/sites-enabled# wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php

    ##### SCRIPT FINISHED #####
    Results can be found in htf_report.txt
    To view results use your favourite text editor or type 'cat htf_report.txt | more' on the server console.

    If you want to see the non-anonymized output start the script with --debug as parameter (php -q htf-common-issues.php --debug).

    [email protected]:/etc/nginx/sites-enabled# cat htf_report.txt | more

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1dev


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.0.22-0ubuntu***.***.***.***

    ##### PORT CHECK #####

    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    [WARN] Port 443 (Webserver SSL) seems NOT to be listening

    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Nginx (PID 32511)
    [INFO] I found the following mail server(s):
    Postfix (PID 7476)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 7862)
    [INFO] I found the following imap server(s):
    Dovecot (PID 7862)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 8212)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    ***.***.***.***:53 (8220/named)
    ***.***.***.***:53 (8220/named)
    [localhost]:53 (8220/named)
    [anywhere]:21 (8212/pure-ftpd)
    [anywhere]:22 (611/sshd)
    [localhost]:953 (8220/named)
    [anywhere]:25 (7476/master)
    [localhost]:6010 (12375/0)
    [localhost]:6011 (23309/1)
    [localhost]:6012 (28198/2)
    [localhost]:6013 (32001/3)
    [anywhere]:993 (7862/dovecot)
    [anywhere]:995 (7862/dovecot)
    [localhost]:10023 (561/postgrey.pid)
    [localhost]:10024 (7509/amavisd-new)
    [localhost]:10025 (7476/master)
    [localhost]:10026 (7509/amavisd-new)
    [localhost]:10027 (7476/master)
    [anywhere]:587 (7476/master)
    [localhost]:11211 (623/memcached)
    [anywhere]:110 (7862/dovecot)
    [anywhere]:143 (7862/dovecot)
    [anywhere]:80 (32511/nginx)
    [anywhere]:8081 (32511/nginx)
    [anywhere]:465 (7476/master)
    *:*:*:*::*:53 (8220/named)
    *:*:*:*::*:21 (8212/pure-ftpd)
    *:*:*:*::*:22 (611/sshd)
    *:*:*:*::*:953 (8220/named)
    *:*:*:*::*:25 (7476/master)
    *:*:*:*::*:6010 (12375/0)
    *:*:*:*::*:6011 (23309/1)
    *:*:*:*::*:6012 (28198/2)
    *:*:*:*::*:6013 (32001/3)
    *:*:*:*::*:993 (7862/dovecot)
    *:*:*:*::*:995 (7862/dovecot)
    *:*:*:*::*:3306 (7153/mysqld)
    *:*:*:*::*:587 (7476/master)
    [localhost]10 (7862/dovecot)
    [localhost]43 (7862/dovecot)
    *:*:*:*::*:80 (32511/nginx)
    *:*:*:*::*:8081 (32511/nginx)
    *:*:*:*::*:465 (7476/master)




    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target prot opt source destination
    f2b-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993
    f2b-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22
    ufw-before-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-before-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-reject-input all -- [anywhere]/0 [anywhere]/0
    ufw-track-input all -- [anywhere]/0 [anywhere]/0

    Chain FORWARD (policy DROP)
    target prot opt source destination
    ufw-before-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-before-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-reject-forward all -- [anywhere]/0 [anywhere]/0
    ufw-track-forward all -- [anywhere]/0 [anywhere]/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ufw-before-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-before-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-reject-output all -- [anywhere]/0 [anywhere]/0
    ufw-track-output all -- [anywhere]/0 [anywhere]/0

    Chain f2b-dovecot-pop3imap (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-pureftpd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain ufw-after-forward (1 references)
    target prot opt source destination

    Chain ufw-after-input (1 references)
    target prot opt source destination
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:137
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:138
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:139
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:445
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:67
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:68
    ufw-skip-to-policy-input all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST
     
  4. Jedrzej82

    Jedrzej82 New Member

    Chain ufw-after-logging-forward (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-after-logging-input (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-after-logging-output (1 references)
    target prot opt source destination

    Chain ufw-after-output (1 references)
    target prot opt source destination

    Chain ufw-before-forward (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 4
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ufw-user-forward all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-input (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    DROP all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 4
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp spt:67 dpt:68
    ufw-not-local all -- [anywhere]/0 [anywhere]/0
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:5353
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:1900
    ufw-user-input all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-logging-forward (1 references)
    target prot opt source destination

    Chain ufw-before-logging-input (1 references)
    target prot opt source destination

    Chain ufw-before-logging-output (1 references)
    target prot opt source destination

    Chain ufw-before-output (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-user-output all -- [anywhere]/0 [anywhere]/0

    Chain ufw-logging-allow (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "

    Chain ufw-logging-deny (2 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ctstate INVALID limit: avg 3/min burst 10
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-not-local (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type LOCAL
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type MULTICAST
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-reject-forward (1 references)
    target prot opt source destination

    Chain ufw-reject-input (1 references)
    target prot opt source destination

    Chain ufw-reject-output (1 references)
    target prot opt source destination

    Chain ufw-skip-to-policy-forward (0 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-input (7 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-output (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain ufw-track-forward (1 references)
    target prot opt source destination

    Chain ufw-track-input (1 references)
    target prot opt source destination

    Chain ufw-track-output (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 ctstate NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 ctstate NEW

    Chain ufw-user-forward (1 references)
    target prot opt source destination

    Chain ufw-user-input (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:22
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:80 /* 'dapp_Nginx%20HTTP' */

    Chain ufw-user-limit (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-port-unreachable

    Chain ufw-user-limit-accept (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain ufw-user-logging-forward (0 references)
    target prot opt source destination

    Chain ufw-user-logging-input (0 references)
    target prot opt source destination

    Chain ufw-user-logging-output (0 references)
    target prot opt source destination

    Chain ufw-user-output (1 references)
    target prot opt source destination
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the file /etc/nginx/sites-available/ispconfig.vhost
     
    Jedrzej82 likes this.
  6. Jedrzej82

    Jedrzej82 New Member

    ISPconfig is working just fine after starting from first chapter of tutorial
     
  7. Edenilson

    Edenilson New Member

    Hi friend, I installed ISPConfig 3. But I can not get inside. I need help. Follow cat htf_report.txt:
    FQDN: mail.lojaweb.pro
    Domain: lojaweb.pro

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.13


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.2.9-1+0~20180910100512.5+stretch~1.gbpdaac35

    ##### PORT CHECK #####

    [WARN] Port 21 (FTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Unknown process (nginx:) (PID 17953)
    [INFO] I found the following mail server(s):
    Postfix (PID 17804)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 17901)
    [INFO] I found the following imap server(s):
    Dovecot (PID 17901)
    [WARN] I could not determine which ftp server is running.

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [localhost]:10023 (875/postgrey)
    [localhost]:10024 (5050/amavisd-new)
    [localhost]:10025 (17804/master)
    [localhost]:10026 (5050/amavisd-new)
    [localhost]:10027 (17804/master)
    [anywhere]:587 (17804/master)
    [anywhere]:110 (17901/dovecot)
    [anywhere]:143 (17901/dovecot)
    [anywhere]:80 (17953/nginx:)
    [anywhere]:8080 (17953/nginx:)
    [anywhere]:8081 (17953/nginx:)
    [anywhere]:465 (17804/master)
    ***.***.***.***:53 (5096/named)
    [localhost]:53 (5096/named)
    [anywhere]:22 (822/sshd)
    [anywhere]:25 (17804/master)
    [localhost]:953 (5096/named)
    [anywhere]:443 (17953/nginx:)
    [anywhere]:993 (17901/dovecot)
    [anywhere]:995 (17901/dovecot)
    *:*:*:*::*:10023 (875/postgrey)
    *:*:*:*::*:10024 (5050/amavisd-new)
    *:*:*:*::*:10026 (5050/amavisd-new)
    *:*:*:*::*:3306 (4806/mysqld)
    *:*:*:*::*:587 (17804/master)
    [localhost]10 (17901/dovecot)
    [localhost]43 (17901/dovecot)
    *:*:*:*::*:80 (17953/nginx:)
    *:*:*:*::*:8080 (17953/nginx:)
    *:*:*:*::*:8081 (17953/nginx:)
    *:*:*:*::*:465 (17804/master)
    *:*:*:*::*:53 (5096/named)
    *:*:*:*::*:22 (822/sshd)
    *:*:*:*::*:25 (17804/master)
    *:*:*:*::*:953 (5096/named)
    *:*:*:*::*:443 (17953/nginx:)
    *:*:*:*::*:993 (17901/dovecot)
    *:*:*:*::*:995 (17901/dovecot)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-dovecot tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993,587,465,4190
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain f2b-dovecot (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0



    [email protected]:/# firewall-cmd --state
    -bash: firewall-cmd: command not found
    [email protected]:/# systemctl status firewalld.service
    Unit firewalld.service could not be found.
    [email protected]:/# cat htf_report.txt

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.13


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.2.9-1+0~20180910100512.5+stretch~1.gbpdaac35

    ##### PORT CHECK #####

    [WARN] Port 21 (FTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Unknown process (nginx:) (PID 17953)
    [INFO] I found the following mail server(s):
    Postfix (PID 17804)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 17901)
    [INFO] I found the following imap server(s):
    Dovecot (PID 17901)
    [WARN] I could not determine which ftp server is running.

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [localhost]:10023 (875/postgrey)
    [localhost]:10024 (5050/amavisd-new)
    [localhost]:10025 (17804/master)
    [localhost]:10026 (5050/amavisd-new)
    [localhost]:10027 (17804/master)
    [anywhere]:587 (17804/master)
    [anywhere]:110 (17901/dovecot)
    [anywhere]:143 (17901/dovecot)
    [anywhere]:80 (17953/nginx:)
    [anywhere]:8080 (17953/nginx:)
    [anywhere]:8081 (17953/nginx:)
    [anywhere]:465 (17804/master)
    ***.***.***.***:53 (5096/named)
    [localhost]:53 (5096/named)
    [anywhere]:22 (822/sshd)
    [anywhere]:25 (17804/master)
    [localhost]:953 (5096/named)
    [anywhere]:443 (17953/nginx:)
    [anywhere]:993 (17901/dovecot)
    [anywhere]:995 (17901/dovecot)
    *:*:*:*::*:10023 (875/postgrey)
    *:*:*:*::*:10024 (5050/amavisd-new)
    *:*:*:*::*:10026 (5050/amavisd-new)
    *:*:*:*::*:3306 (4806/mysqld)
    *:*:*:*::*:587 (17804/master)
    [localhost]10 (17901/dovecot)
    [localhost]43 (17901/dovecot)
    *:*:*:*::*:80 (17953/nginx:)
    *:*:*:*::*:8080 (17953/nginx:)
    *:*:*:*::*:8081 (17953/nginx:)
    *:*:*:*::*:465 (17804/master)
    *:*:*:*::*:53 (5096/named)
    *:*:*:*::*:22 (822/sshd)
    *:*:*:*::*:25 (17804/master)
    *:*:*:*::*:953 (5096/named)
    *:*:*:*::*:443 (17953/nginx:)
    *:*:*:*::*:993 (17901/dovecot)
    *:*:*:*::*:995 (17901/dovecot)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-dovecot tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993,587,465,4190
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain f2b-dovecot (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0
     
  8. Taleman

    Taleman Active Member HowtoForge Supporter

    Looks like you have a complicate setup. That server is behind cloudflare, and round-robin DNS. Browser returns Error 502.

    Code:
    $ host mail.lojaweb.pro
    mail.lojaweb.pro has address 104.27.163.37
    mail.lojaweb.pro has address 104.27.162.37
    mail.lojaweb.pro has IPv6 address 2400:cb00:2048:1::681b:a225
    mail.lojaweb.pro has IPv6 address 2400:cb00:2048:1::681b:a325
    
    How is it failing for you, i.e. what happens when you go to http or https mail.lojaweb.pro:8080?
    Plus htf_report shows you are probably running Debian 9.x Stretch, but with PHP version 7.2. Stretch has PHP 7.0 as default, and ISPConfig is supported on the default PHP version on the platform, so other versions may not work.
    Anyway, problem may not be at ISPConfig, but in Cloulflare. Or the wrong PHP version.
     
  9. Edenilson

    Edenilson New Member

    Hi friend, thanks for the quick response.

    Please see in the image attached the screens as it happens.
    I have now installed Ubuntu 18.04, Nginx, PHP7.2. I have NOT installed these programs: Metronome XMPP, Fcgiwrap, Mailman, PureFTPd, Quota, Jailkit. I followed the recommendations of these two pages below:
    hcnlinuxblog >> o-servidor-perfeito-debian-9-nginx-bind-dovecot-ispconfig-3-1
    howtoforge >> perfect-server-ubuntu-18-04-nginx-bind-dovecot-and-ispconfig-3

    My host configuration:

    sudo hostnamectl set-hostname mail.lojaweb.pro

    sudo nano / etc / hosts
    127.0.0.1 localhost.localdomain localhost
    173.255.235.247 mail.lojaweb.pro mail

    nano / etc / hostname
    mail


    I would like to install ISPCONFIG, a setup that works.

    Did these two tutorials that I followed have left some recommendation, package or configuration missing? Should I install Let's Encrypt to work? In none of these tutorials do you talk about it. But it does not even open the ISPCONFIG using the FQDN and not even the Roundcube (as in the attached image).

    Follow new cat htf_report.txt:
    FQDN: mail.lojaweb.pro
    Domain: lojaweb.pro

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.13


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.2.10-0ubuntu***.***.***.***

    ##### PORT CHECK #####

    [WARN] Port 443 (Webserver SSL) seems NOT to be listening
    [WARN] Port 21 (FTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Unknown process (nginx:) (PID 22285)
    [INFO] I found the following mail server(s):
    Postfix (PID 22142)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 22238)
    [INFO] I found the following imap server(s):
    Dovecot (PID 22238)
    [WARN] I could not determine which ftp server is running.

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:993 (22238/dovecot)
    [anywhere]:995 (22238/dovecot)
    [localhost]:10023 (28193/postgrey)
    [localhost]:10024 (22206/amavisd-new)
    [localhost]:10025 (22142/master)
    [localhost]:10026 (22206/amavisd-new)
    [localhost]:10027 (22142/master)
    [anywhere]:587 (22142/master)
    [anywhere]:110 (22238/dovecot)
    [anywhere]:143 (22238/dovecot)
    [anywhere]:80 (22285/nginx:)
    [anywhere]:8080 (22285/nginx:)
    [anywhere]:8081 (22285/nginx:)
    [anywhere]:465 (22142/master)
    ***.***.***.***:53 (22267/named)
    [localhost]:53 (22267/named)
    ***.***.***.***:53 (471/systemd-resolve)
    [anywhere]:22 (652/sshd)
    [localhost]:953 (22267/named)
    [anywhere]:25 (22142/master)
    *:*:*:*::*:993 (22238/dovecot)
    *:*:*:*::*:995 (22238/dovecot)
    *:*:*:*::*:10023 (28193/postgrey)
    *:*:*:*::*:10024 (22206/amavisd-new)
    *:*:*:*::*:10026 (22206/amavisd-new)
    *:*:*:*::*:3306 (21823/mysqld)
    *:*:*:*::*:587 (22142/master)
    [localhost]10 (22238/dovecot)
    [localhost]43 (22238/dovecot)
    *:*:*:*::*:80 (22285/nginx:)
    *:*:*:*::*:8080 (22285/nginx:)
    *:*:*:*::*:8081 (22285/nginx:)
    *:*:*:*::*:465 (22142/master)
    *:*:*:*::*:53 (22267/named)
    *:*:*:*::*:22 (652/sshd)
    *:*:*:*::*:953 (22267/named)
    *:*:*:*::*:25 (22142/master)



    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Thank you ISPCONFIG-PROBLEMS-INSTALLATION-CONFIGURATION.jpg
     
  10. ahrasis

    ahrasis Active Member

    Yours is not ISPConfig setup problem. You cannot simply point your domain ip to your vps from cloudflare but you need to also properly configure your cloudflare in order for your connection to work.
     

Share This Page