[CGI3.11] 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();

Was this answer helpful?

 Print this Article

Also Read

[CGI3.06] What is Python?

Python is an interpreted, interactive, object-oriented programming language. It is often compared...

[CGI3.05] Does Hosting cPanel support SSI (Server Side Includes)?

Yes we do. SSI (Server Side Includes) are tags that are placed in HTML pages, and evaluated on...

[CGI3.13] How can I update my Joomla1.5 to the latest version?

Upgrading existing installations of Joomla 1.5The authors of Joomla issue patches which will...

[CGI3.14] Why do you not have a one click install for Magento shopping cart?

Magento is a very resource hungry application, we have found it performs poorly on shared hosting...

[CGI3.12] How do I setup trackbacks in Wordpress

Trackback – HowtoWhat trackback does – an example.Suppose you read a post on someone else's blog,...