Web Users for a domain added in plesk control panel can be accessed as ” http://domain.com/~webuser/ ” but adding a webuser for first time for a domain may throw an error as ” File does not exist: /var/www/vhosts/domain.com/httpdocs/~webuser ”
Plesk doesn’t make required entries related to a webuser automatically in the Apache configuration file.
1) Add the following entry in the Apache configuration file.
(PS: Make sure that you are replacing only domain name with the exact domain in question. Don’t replace web_users with webuser name in Apache conf. file.
Avoid editing the original Apache conf. file for the domain (/var/www/vhosts/domain.com/conf/httpd.include). Instead you may create vhost.conf file (/var/www/vhosts/domain.com/conf/vhost.conf) and add above entries in order to avoid any misconfiguration.)
2) Run the following command in order to update the changes made above.
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com
3) Restart Apache
After carrying out the above steps you should be able to access WebUser through a browser. Now if you are getting Permission Denied error then make sure that you have uploaded one index file for the web user through webuser’s FTP account. The document root for the webuser’s is :
While logging in through FTP , by default, webuser will be having access to this directory only.