Knowledgebase Banner Advert

What is the server path?

The path to your website is partially determined by your domain name, but is in the following format:

/home/sites/your-domain-name.com/public_html

If you are using PHP, you can find out this path by entering the following into a php script:

echo getcwd();

Share:

  • 1 Users Found This Useful
Was this answer helpful?
Couldn't find what you are looking for?

Monthly Security Checkup

Download our 10 crucial tips to make sure your website keeps running smoothly



Related Articles

When I try and view my website I get an HTTP Error 403 - Forbidden message.

A '403 Forbidden' message means that the browser has requested a page that it is not...

My links are not working. What is wrong

First of all, check that the link is correctly spelled, and that the correct case is used -...

I have installed the formmail script but my form is not working

The Formmail Script is provided via the Control Panel, full usage instructions can be found after...

How do I enable gzip compression on my website

You can decrease load times on your website by compressing the contents. You can do this on any...

How can I enable directory indexing

If you want to see a list of files in a directory when viewing it in a browser rather than a web...