A public_html folder is the root of your primary domain name. In other words, public_html is the directory where you put all the files that you want to appear when people type your main domain domain. The public_html directory is a place on Apache web servers where all HTML files and other web content can be accessed by the public. Every page on a website loads from the public_html directory. In the example below, this page is located in the below directory on Computer Hope's web server. The public_html folder contains all the files that are meant to be displayed when someone types your main domain. Therefore, whenever the visitor types your domain name into their browser, the content of the public_html folder is displayed.