我想将2个域名指向一个根方向以供使用。 因此,这两个域都可以使用此方向内容:/ var / www / clients / client0 / web6 / web 我怎么能在ispconfig中做到这一点?
它在ubuntu上的nginx上运行。
答案 0 :(得分:0)
Navigate as below,
Select the second domain
> Options
> Apache Directives
and input the following directive.
For Apache:
DocumentRoot "/var/www/clients/client0/web6/web"
For nginx:
root /var/www/clients/client0/web6/web;##merge##
Restart apache/nginx, now both the domains should now point to the same root directory.