What is public_html?

public_html is the public folder on all web hosting accounts. Any files contained within this directory may be accessed from the domain name. Here are some examples:

  • /public_html/file1.html = yourdomain.com/file1.html
  • /public_html/somefolder/somefile.jpg = yourdomain.com/somefolder/somefile.jpg
  • /privatefile.html = Not accessible through your domain, since file is outside of the public_html folder

Note that the www folder is a shortcut to public_html.

  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

First Steps

Welcome to solutionz-eWeb and thank you for trusting us with your hosting needs. You are joining...

Introduction to cPanel

The cPanel is your administrative panel, and your new best friend! Use it to set up your email...

Name Servers (DNS)

In order to associate your domain name purchased with another provider (also called a registrar)...