Messed up with dns settings

Discussion in 'Installation/Configuration' started by ralphot, May 20, 2022.

Tags:
  1. ralphot

    ralphot Member

    I did something wrong, can't remember what but after setting up dns I can't reach the server anymore.
    Safari can't open the page
    How to correct?
     
    Last edited: May 21, 2022
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    ahrasis likes this.
  3. ralphot

    ralphot Member

    Thank you. This is what comes out:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 18.04.6 LTS
    [INFO] uptime: 11:27:12 up 9:53, 1 user, load average: 0.01, 0.02, 0.00
    [INFO] memory:
    total used free shared buff/cache available
    Mem: 9.7G 1.6G 7.1G 3.0M 1.1G 7.9G
    Swap: 4.0G 0B 4.0G
    [INFO] ISPConfig is installed.
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.8p1
    ##### VERSION CHECK #####
    [INFO] php (cli) version is 7.2.24-0ubuntu***.***.***.***
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.2.24
    ##### PORT CHECK #####
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening
    [WARN] Port 80 (Webserver) seems NOT to be listening
    [WARN] Port 443 (Webserver SSL) seems NOT to be listening
    ##### MAIL SERVER CHECK #####
    ##### RUNNING SERVER PROCESSES #####
    [WARN] I could not determine which web server is running.
    [INFO] I found the following mail server(s):
    Postfix (PID 1684)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 929)
    [INFO] I found the following imap server(s):
    Dovecot (PID 929)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1798)
    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    ***.***.***.***:53 (2616/systemd-resolv)
    [anywhere]:21 (1798/pure-ftpd)
    ***.***.***.***:53 (955/named)
    [localhost]:53 (955/named)
    [anywhere]:22 (1271/sshd)
    [anywhere]:25 (1684/master)
    [localhost]:953 (955/named)
    [anywhere]:993 (929/dovecot)
    [anywhere]:995 (929/dovecot)
    [localhost]:10023 (1581/postgrey)
    [anywhere]:587 (1684/master)
    [localhost]:11211 (858/memcached)
    [anywhere]:110 (929/dovecot)
    [anywhere]:143 (929/dovecot)
    [anywhere]:465 (1684/master)
    *:*:*:*::*:21 (1798/pure-ftpd)
    *:*:*:*::*:53 (955/named)
    *:*:*:*::*:22 (1271/sshd)
    *:*:*:*::*:25 (1684/master)
    *:*:*:*::*:953 (955/named)
    *:*:*:*::*:993 (929/dovecot)
    *:*:*:*::*:995 (929/dovecot)
    *:*:*:*::*:3306 (1403/mysqld)
    *:*:*:*::*:587 (1684/master)
    [localhost]10 (929/dovecot)
    [localhost]43 (929/dovecot)
    *:*:*:*::*:465 (1684/master)
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ##### LET'S ENCRYPT #####
    Certbot is installed in /usr/bin/letsencrypt
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure you ran the script as root user?
     
  5. ralphot

    ralphot Member

    Absolutley!
    If I do ifconfig:
    root@boss2022:/etc/systemd# ifconfig
    enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.216 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::6ef0:49ff:fee2:3c30 prefixlen 64 scopeid 0x20<link>
    ether 6c:f0:49:e2:3c:30 txqueuelen 1000 (Ethernet)
    RX packets 101294 bytes 9132528 (9.1 MB)
    RX errors 0 dropped 92523 overruns 0 frame 0
    TX packets 2416 bytes 253185 (253.1 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 5063 bytes 347346 (347.3 KB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 5063 bytes 347346 (347.3 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
     
  6. ralphot

    ralphot Member

    I found the problem. in
    shooter.mywire.org.conf I did a mistake and there were an "x" at line 1 which I removed and then I could restart Apache2 again.
    Thanks guys!
     
    Jesse Norell likes this.

Share This Page