What is my Web Root or Document Root?

Some scripts/programs may ask you for your web root (or document root) when performing the initial setup. This is the base of your website, from the point-of-view of the server, not the client/browser.


For all our newer servers, this is /var/www/vhosts/(domain)/httpdocs/, where (domain) is your domain name. For example, for example.com it would be:


/var/www/vhosts/example.com/httpdocs/

Note that www. is not part of the path.


However, if you are on our older server alpha.jabservers.co.uk then the path is /home/httpd/vhosts/(domain)/httpdocs/.


Also, if you are using a secure website, and have not enabled the single directory option in Plesk, then you will need to replace httpdocs/ with httpsdocs/ to point to the secure site files.


  • 116 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the perl interpreter (or program) located?

If you are running a script via the command line (and you have SSH access enabled), or you are...

Why does my script fail to run in the cgi-bin?

There are a number of reasons as to why you cannot get a script to run in your cgi-bin. They...

Can I install programs such as phpBB and Mambo?

All our accounts provide access to a wide-range of languages and utilities Using these, you are...

How do I enable register_globals (PHP)?

Since version 4.2.0 of PHP, the register_globals setting has been disabled by default on all new...

How do I create a cron job?

A cron job (run by the cron daemon, or cron service) is a request for the server to run a...