Public_html is a directory on computers running Apache web servers that stores all HTML 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

  • Creating a web page.