What is the Absolute Path to my Web Server

What is the Absolute Path to my Web Server

Knowing what is the absolute path to my web server is essential for htaccess authenication user file path (AuthUserFile). htaccess authenication will not work without the absolute path.

What is the Absolute Path to my Web Server

The absolute path to my web server should look like this:

/home#/username/public_html/

Let me walk you through each component of the absolute path.

  • /home#/ - You need to adjust /home#/ to /home/, /home1/ or /home2/ or the number listed on your home directory account which is located at the upper left-hand corner of your cpanel.
  • /username/ - is the username given to you when you signed up with your web hosting site.
  • /public_html/ - is where all the files are located on your server.

Example: /home2/redhot/public_html/

If you have addon domains, the absolute path would look like this:

/home#/username/www/domain_name/

Example: /home2/redhot/www/example/




Related Articles

htaccess is not working: One of the reasons why htaccess is not working could be related to the absolute path to your website.

What is the absolute path to my web server?: Don't know your absolute path to your web server? Check this out!






Designed by www.jc-website-designs.com with Adobe Dreamweaver