all websites are displaying last created one

Discussion in 'General' started by persianman72, Aug 3, 2017.

  1. persianman72

    persianman72 New Member

    hi
    i have strange problem, i can't tell which part of configuration has problem.
    i have 3 clients, and one site is created in each one.
    but all of them showing last created one !
    so i have :
    client 1 : site1.com
    client 2 : site2.com
    client 3 : site3.com

    and all of them are dispaying site3.com !
    if i add another website as site4.com, all of websites will display this when typing url.

    i checked and in this folder : /etc/apache2/sites-available
    for each .vhost file i have different DocumentRoot.
    like site 1 is :
    <VirtualHost 192.168.18.30:80>
    DocumentRoot /var/www/clients/client4/web2/web

    and site 2 is :
    <VirtualHost 192.168.18.30:80>
    DocumentRoot /var/www/clients/client7/web4/web



    how it's possible ?
     
  2. persianman72

    persianman72 New Member

    it was firewall problem. i fixed it. sorry to bother you guys.
     

Share This Page