What is the public_html folder?

This is the web root directory for your primary domain. All website files pertinent to that domain must be within the public_html folder. Whatever is in the public_html folder will be displayed when visitors load your domain. If "index.html" is in your public_html folder, that will be displayed by default. If there is no index.html, your domain will load a list of the files in the public_html folder.

Subdomains and addon domains will both use folders inside the public_html folder.



Permissions

0777 permissions will not work. If a script or website calls for using 777 permissions, use 0755 instead.

  • Permissions for the public_html folder should be 0750.
  • Folders inside the public_html folder should have 0755 permissions.
  • Files inside the public_html folder should have 0755 or 0644 permissions.

 


  • 23 Users Found This Useful
Was this answer helpful?

Related Articles

How long after I sign up can I start building my site?

If your account is automatically approved, it will be created and ready for uploading within 15...

Where do I upload my files?

Your account has both non-web accessible space and of course your web accessible space. Your user...

What are some account basics?

We'll explain some basic procedures and steps to use your account. Username and Passwords:...

How do I upload my website?

Your site content will need to be uploaded into the "public_html" folder within your account's...

Is it a problem if I'm not in the US?

Not at all! In fact, we already have customers in countries all over the world.