Hello, I am using Ispconfig 2 on debian. My problem is this I have two domain name : domaine1.com with DocumentRoot in /www/web1/web/ domaine2.com with DocumentRoot in /www/web2/web/ I want the domaine1.com and domaine2.com to have the same DocumentRoot in others word i want domaine2.com to have the same DocumentRoot in /www/web1/web. At final i must have : domaine1.com with DocumentRoot in /www/web1/web/ domaine2.com with DocumentRoot in /www/web1/web/ I have done everything but no solutions. Please help me. Thanks.
just add domain 2 as co-domain of domain 1. There are no manual changes in Vhosts_ispconfig.conf required.
just add domain 2 as co-domain of domain 1 Thanks Till, Addind domain 2 as co-domain will force the 2 domain to have exactly the same design and will not resolve my problem. The two domain have web sites and having the same DocumentRoot does not mean that their content are exactly the same. Thanks.
Add the second domain as co-domain to the first one. Thats the way it is done for all cms systems. If you want to show different content, then this is handled by the cms system or script that delivers the content or you use apache rewrite rules to show different conetnt based on the domain name.