Home » Categories » Multiple Categories

What is the server path?

The server path to your website is partially determined by your domain name, but if you are on a shared hosting package, it will always be in the following format:

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

If you are using PHP, you can also find out this path by including the following code into a PHP script:

echo getcwd();

2.75 (4)
Article Rating (4 Votes)
Rate this article
  • Icon PDFExport to PDF