Public_html

Updated: 04/30/2020 by Computer Hope

Public_html is known as the document root or docroot directory on computers running Apache web servers that stores all HTML (hypertext markup language) files and other web content to be viewed on the Internet. When visiting a website on the Internet, each page loads from the public_html directory. For example, this page is on the Computer Hope web server in the below directory.

hope/public_html/jargon/p/publicht.htm

In the sample above, hope is the user, the public_html is the folder storing all HTML files, /jargon/p/ are directories stored in that directory, and publicht.htm is the web page.

Apache, Home directory, Homepage, HTML, Root, Web design terms