document root problem

Discussion in 'Installation/Configuration' started by jalapela, Jan 28, 2018.

  1. jalapela

    jalapela Member

    Hello,
    I've debian 9 on ispconfig 3.1.2. On the server 2 has domain. "real.com" and "test.com" both sites same one is real one is test and development.(separate www and database). also they have subdomains.(directing by dns). in the www folder they have public folder. i was redirect document root by ispconfig=>Apache Directives=> DocumentRoot "/var/www/clients/client1/web19/web/public/"
    and DocumentRoot "/var/www/clients/client1/web20/web/public/"
    the problem is real.com shows his page also admin.real.com shows his page
    but test.com shows his page but admin.test.com shows admin.real.com
    when i disable the real.com admin.test.com shows his page.

    i was test it separate domains, when i was change the document root subdomains always reads first domains folder
    how can i solve this problem.
    regards,
     
  2. jalapela

    jalapela Member

  3. Jesse Norell

    Jesse Norell Well-Known Member

    Check the IP addresses assigned and either use all * or all the actual IP, but don't mix the two.
     

Share This Page