which index.html is correct ?

Discussion in 'Installation/Configuration' started by theo136, Aug 17, 2011.

  1. theo136

    theo136 New Member

    Have with ispconfig created 2 sites, say sateA and siteB.
    Going to /var/www I find there: (ih=index.html)
    -ih; It works !
    -siteA/ih: It works site A
    /web1/ih: It works ! for siteA
    /web/ih: Welcome in siteA
    -siteB/web/ih: Welcome is siteB
    -clients/client0/web1/web/ih: Welcome in siteA
    /web2/web/ih: Welcome in siteB

    IMHO that is too much/often. Did I something wrong ? What/where ?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Thats all fine and as it should be. If you have sitea.tld and siteb.tld, then the index files are:

    /var/www/sitea.tld/index.html

    and for site b:

    /var/www/siteb.tld/index.html
     
  3. theo136

    theo136 New Member

    Thank you Till.
    That was my idea too.
    So, all after /var/www/clients can be deleted.
    Thanks again n bey bey
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    No, dont do that! The files are the same, they are symlinks. If you delete them, then you remove your websites.
     
  5. theo136

    theo136 New Member

    Thanks again !!
     

Share This Page