WEbhosting server DocumentRoot is var/www instead of /home/user
Posted: Sat Oct 21, 2017 8:22 pm
what is the default vestacp website directory for all webhosting clients on my debian server?
I think i may have made a mistake in setting my default vestacp user home directory. I also have other servers that by default set new website home directory to
/home/clent/web/domain.com/public_html
my vestacp users home directory is as above, however, when i copy files into the above path for new users websites the default apache "it works" page is still being displayed. I am sure that the problem is that apache is continuing to see the default DocumentRoot for all new users domain websites as
/var/www/
I am not sure what is the best way to fix this?
Should i change user home directory or change the apache configuration? (how do i make the changes required?)
Should there be simlink from /var/www to /home/client/web/...?
I think i may have made a mistake in setting my default vestacp user home directory. I also have other servers that by default set new website home directory to
/home/clent/web/domain.com/public_html
my vestacp users home directory is as above, however, when i copy files into the above path for new users websites the default apache "it works" page is still being displayed. I am sure that the problem is that apache is continuing to see the default DocumentRoot for all new users domain websites as
/var/www/
I am not sure what is the best way to fix this?
Should i change user home directory or change the apache configuration? (how do i make the changes required?)
Should there be simlink from /var/www to /home/client/web/...?