HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   which index.html is correct ? (http://www.howtoforge.com/forums/showthread.php?t=53802)

theo136 17th August 2011 09:49

which index.html is correct ?
 
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 ?

till 17th August 2011 11:55

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

theo136 17th August 2011 12:18

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

till 17th August 2011 12:20

Quote:

So, all after /var/www/clients can be deleted.
No, dont do that! The files are the same, they are symlinks. If you delete them, then you remove your websites.

theo136 17th August 2011 12:22

Thanks again !!


All times are GMT +2. The time now is 16:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.