Skip to content
Host4u Limited

The public_html folder: where your website lives

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

Your website's files go in the public_html folder in your hosting account. Anything in it can be seen on the web: public_html/index.html is the page visitors see at https://yourdomain/.

What else is in your home folder

public_html sits inside your home folder, next to folders cPanel uses to run your account, for example mail (your email), etc (email and domain settings), logs, tmp and ssl. Do not delete or rename these: your email and website depend on them. If you are not sure what a folder is for, open a support ticket before you remove it.

Other domains on your account

Each extra domain you add has its own folder for its website files. cPanel suggests one when you add the domain, and shows it in Domains. See Domains in cPanel: addon domains, aliases and subdomains.

Uploading your website

Upload your files into public_html with File Manager or an FTP program. See File Manager: upload, copy, move, rename and delete files and FTP and SFTP: accounts and connecting.

Deleted public_html by mistake?

See Restoring a deleted public_html folder.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal