Cannot connect to local ISPConfig Site 192.168.0.100

Discussion in 'Installation/Configuration' started by Norrin, Dec 31, 2023.

  1. Norrin

    Norrin New Member HowtoForge Supporter

    Hi,
    Was hoping you could help with a configuration error.
    Ubuntu 22.04

    I have installed ISPConfig on Ubuntu 22.04 using the automated installer.
    Post install, I reviewed the base installation guide to ensure it corresponded correctly with my server configuration:
    sudo nano /etc/netplan/00-installer-config.yaml
    sudo nano /etc/hosts
    (settings on my server are now the same as the base install recommendations).
    ifconfig -a indicates correct local ip, netmask, broadcast (as per guide).
    route shows gateway as 192.168.0.1

    ISPConfig Configuration.
    Created new reseller with mostly -1 limits, domain: example.com, webserver & nameserver: server1.example.com. (cannot see ns1.dingo.com ns2.dingo.com as selection(s) for nameserver 1 & 2 for this reseller account)

    Created DNS Zone for domain (dingo.com on server1.example.com)
    server: server1.example.com
    IPv4: wildcard *.
    domain: dingo.com.
    NS1: ns1.dingo.com
    NS2: ns2.dingo.com
    (tried creation of ns1.example.com & ns2.example.com with zone, same problem so deleted them and used ns1.dingo.com & ns2.dingo.com instead).
    SSL: yes.
    LETSENCRYPT: yes.

    Create new site (dingo.com) with auto www subdomain, self signed SSL cert (internal only) etc.

    Site & cert created however, when connecting to site, no green ISPConfig Welcome message indicating site has been successfully created, just get standard "unable to connect" message in browser.

    Please assist.
    Many Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Norrin

    Norrin New Member HowtoForge Supporter

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 22.04.3 LTS
     
    [INFO] uptime:  20:07:13 up 6 min,  2 users,  load average: 1.52, 2.89, 1.56
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   availabl
    e
    Mem:           1.9Gi       1.4Gi        83Mi        34Mi       416Mi       304M
    i
    Swap:          2.0Gi       1.5Gi       524Mi
     
    [INFO] systemd failed services status:
      UNIT             LOAD   ACTIVE SUB    DESCRIPTION
    ● fail2ban.service loaded failed failed Fail2Ban Service
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    1 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.11p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.1.27
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.1.27
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Apache 2 (PID 1170)
    [INFO] I found the following mail server(s):
        Postfix (PID 2194)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 1009)
    [INFO] I found the following imap server(s):
        Dovecot (PID 1009)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 1162)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:3306        (986/mariadbd)
    [anywhere]:143        (1009/dovecot)
    ***.***.***.***:53        (681/systemd-resolve)
    [anywhere]:4190        (1009/dovecot)
    [anywhere]:110        (1009/dovecot)
    [anywhere]:21        (1162/pure-ftpd)
    [anywhere]:22        (1052/sshd:)
    [anywhere]:25        (2194/master)
    [anywhere]:465        (2194/master)
    [localhost]:53        (894/named)
    [localhost]:11332        (1043/rspamd:)
    [localhost]:11333        (1043/rspamd:)
    [localhost]:11334        (1043/rspamd:)
    [localhost]:6379        (890/redis-server)
    [localhost]:10023        (1202/postgrey)
    [localhost]:953        (894/named)
    [anywhere]:587        (2194/master)
    [localhost]:11211        (855/memcached)
    [anywhere]:993        (1009/dovecot)
    [anywhere]:995        (1009/dovecot)
    [localhost]:631        (836/cupsd)
    ***.***.***.***:53        (894/named)
    *:*:*:*::*:3306        (986/mariadbd)
    [localhost]43        (1009/dovecot)
    *:*:*:*::*:10023        (1202/postgrey)
    *:*:*:*::*:80        (1170/apache2)
    *:*:*:*::*:4190        (1009/dovecot)
    [localhost]10        (1009/dovecot)
    *:*:*:*::*:21        (1162/pure-ftpd)
    *:*:*:*::*:22        (1052/sshd:)
    *:*:*:*::*:25        (2194/master)
    *:*:*:*::*:953        (894/named)
    *:*:*:*::*:465        (2194/master)
    *:*:*:*::*:631        (836/cupsd)
    *:*:*:*::*:443        (1170/apache2)
    *:*:*:*::**:*:*:*::*53        (894/named)
    *:*:*:*::*:587        (2194/master)
    *:*:*:*::*:11332        (1043/rspamd:)
    *:*:*:*::*:11333        (1043/rspamd:)
    *:*:*:*::*:11334        (1043/rspamd:)
    *:*:*:*::*:993        (1009/dovecot)
    *:*:*:*::*:995        (1009/dovecot)
    *:*:*:*::*:8081        (1170/apache2)
    *:*:*:*::*:8080        (1170/apache2)
    *:*:*:*::*:53        (894/named)
    *:*:*:*::*:6379        (890/redis-server)
    
    
    
    
    ##### 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 #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
    Note: ifconfig returns:
    enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
    inet6 fe80::a00:27ff:fe46:d216 prefixlen 64 scopeid 0x20<link>
    ether 08:00:27:46:d2:16 txqueuelen 1000 (Ethernet)
    RX packets 47261 bytes 25761152 (25.7 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 38969 bytes 10836358 (10.8 MB)
    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 20191 bytes 2658204 (2.6 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 20191 bytes 2658204 (2.6 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


    I modified the following entries following examination of my initial post to correspond with output from ifconfig:

    Local IP: 10.0.2.15 (previously 192.168.0.100 - as base setup guide).
    Gateway: 10.0.2.2 (previously 192.168.0.10 - as base setup guide).

    All other post server installation/configuration settings remain unaltered.

    Many thanks Till.
     
  4. Norrin

    Norrin New Member HowtoForge Supporter

    Problem resolved!
     

Share This Page