Default index.html is showing on ever users website

Discussion in 'Installation/Configuration' started by infosec, Jun 29, 2017.

  1. infosec

    infosec New Member

    Hey Guys,

    I have been using ispconfig fosometimeme now and never ran into this issue.

    I have done a new ispconfig on ubuntu 16.04 - and setup 2 clients and 2 sites

    client 1 : web1 - "i have rm index.html atm"
    Code:
    
    drwx--x--x 4 web1 client1 4096 Jun 29 10:05 .
    drwxr-xr-x 9 root root    4096 Jun 21 03:59 ..
    drwxr-xr-x 2 web1 client1 4096 Jun 21 03:59 error
    -rwxr-xr-- 1 web1 client1 7358 Jun 21 03:59 favicon.ico
    -rw-r--r-- 1 web1 client1   53 Jun 27 09:11 googlexxxxxxxxxxxxxxxx.html
    -rw-r--r-- 1 root root     126 Jun 27 09:43 ip.php
    -rwxr-xr-- 1 web1 client1   14 Jun 21 03:59 robots.txt
    drwxr-xr-x 2 web1 client1 4096 Jun 28 12:02 stats
    -rw-r--r-- 1 root root      50 Jun 29 08:59 test.html
    root@1:/var/www/clients/client1/web1/web#
    
    client 2: web5.

    Code:
    
    root@1:/var/www/clients/client2/web5/web# ls -la
    total 144
    drwx--x--x 4 web5 client2   4096 Jun 29 10:07 .
    drwxr-xr-x 9 root root      4096 Jun 29 09:04 ..
    drwxr-xr-x 2 web5 client2   4096 Jun 29 09:04 error
    -rwxr-xr-- 1 web5 client2   7358 Jun 29 09:04 favicon.ico
    -rw-r--r-- 1 web5 client2   1865 Jun 29 10:07 index.html
    -rwxr-xr-- 1 web5 client2     14 Jun 29 09:04 robots.txt
    drwxr-xr-x 2 web5 client2   4096 Jun 29 09:22 stats
    -rw-r--r-- 1 root root        45 Jun 29 09:08 test.html
    -rw-r--r-- 1 web5 client2 108508 Jun 29 09:56 ti1.jpg
    root@1:/var/www/clients/client2/web5/web#
    
    when i visite web5 website i get an error page saying their is no index

    as you can see their is

    if i put index.html back in web1 it comes up on web5s website and web1

    any one run into this issue before hope its not a facepalm moment

    thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the Ipv4 field of both sites in ispconfig, ensure that you either use * for both or the Ip address for both but don't mix.
     
  3. infosec

    infosec New Member

    AS I predicted *facepalm moment* thanks so much till - simple mistake,
     

Share This Page