Client Login

What is the path to my home directory?

When you configure a script for any server, it may ask you to set variables such as the base, relative, CGI directory, and URL settings.

** For cPanel/WHM, DirectAdmin, and Interworx based servers the home directory will be /home/USERNAME/

Your webpath will be
/home/USERNAME/public_html/

which will serve:
http://www.your_domain.com/

So if you need the path to your cgi-bin it would be:
/home/USERNAME/public_html/cgi-bin/

which would serve:
http://www.your_domain.com/cgi-bin/

** For Plesk based servers the home directory will be /var/www/vhosts/DOMAIN.TLD/

Your webpath will be
/var/www/vhosts/DOMAIN.TLD/httpdocs/

which will serve:
http://www.your_domain.com/

So if you need the path to your cgi-bin it would be:
/var/www/vhosts/DOMAIN.TLD/cgi-bin/

which would serve:
http://www.your_domain.com/cgi-bin/

Please change USERNAME, DOMAIN.TLD, and your_domain.com to your username and domain.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read