webmin default server vs new virtualmin virtual server - default wins

Hello, I have a confusion that still am unable to solve: when using virtualmin and creating a virtual server, I am unable to see the site, instead I see the default webmin site.

What do I do?

Status: 
Closed (fixed)

Comments

nn@nick:~$ ip addr sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 4c:ed:fb:76:60:5c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.17/24 brd 192.168.1.255 scope global dynamic noprefixroute enp6s0
       valid_lft 243366sec preferred_lft 243366sec
    inet6 2605:a000:140b:a0ab::c03/128 scope global dynamic noprefixroute 
       valid_lft 576423sec preferred_lft 576423sec
    inet6 2605:a000:140b:a0ab:184b:6d55:2090:78a6/64 scope global temporary dynamic 
       valid_lft 588966sec preferred_lft 70179sec
    inet6 2605:a000:140b:a0ab:a7c:cc0a:5430:c461/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 592221sec preferred_lft 592221sec
    inet6 fe80::e471:79a5:fdb7:9864/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
nn@nick:~$ grep -i '<virtualhost' /etc/apache2/sites-enabled/*.conf
<VirtualHost 192.168.1.17:80>
<VirtualHost 192.168.1.17:443>

Okay, it looks like the one VirtualHost that's currently in Apache has the IP address of "192.168.1.17" associated with it... does that sound correct?

Is that the one that isn't working... you're seeing the default Apache site instead?

Also, what is the output of these commands:

netstat -anlp | grep :80
ifconfig

Thanks!

Yea, that would be it. I think.

nn@nick:~$ netstat -anlp | grep :80 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp6 0 0 :::80 :::* LISTEN -
nn@nick:~$ ifconfig enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.17 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::e471:79a5:fdb7:9864 prefixlen 64 scopeid 0x20 inet6 2605:a000:140b:a0ab:a7c:cc0a:5430:c461 prefixlen 64 scopeid 0x0 inet6 2605:a000:140b:a0ab:184b:6d55:2090:78a6 prefixlen 64 scopeid 0x0 inet6 2605:a000:140b:a0ab::c03 prefixlen 128 scopeid 0x0 ether 4c:ed:fb:76:60:5c txqueuelen 1000 (Ethernet) RX packets 351929 bytes 438147259 (438.1 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 86457 bytes 17214814 (17.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0xfe500000-fe51ffff

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 679192 bytes 297772763 (297.7 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 679192 bytes 297772763 (297.7 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Um, the issue seems to have corrected itself there may be another issue but I will investigate further

thank you for your work

Great, I'm glad to hear things are working now! Feel free to let us know if we can be of further assistance.

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.