Which folder do my files go in?

Which Folder Do My Files Go In?

 

Your website files go in the public_html folder. This is the web-accessible root directory for your primary domain name. When someone visits yourdomain.com, the server serves files from this folder.

 

Directory Guide

  • public_html/ - Your main website (yourdomain.com)
  • public_html/addondomain.com/ - Addon domain websites (each gets its own subfolder)
  • public_html/subdomain/ - Subdomain files (e.g., blog.yourdomain.com)

 

Do Not Put Files In:

  • /home/username/ (the root of your account) - Files here are not web-accessible
  • /mail/ - Email data directory, do not modify
  • /etc/ or /tmp/ - System directories

 

Your main page should be named index.html or index.php and placed directly inside public_html. The www folder is a symbolic link that points to the same location as public_html, so uploading to either one has the same result.

  • 156 Users Found This Useful

Was this answer helpful?

Related Articles

425 Could not open data connection to port

FTP Error: 425 Could Not Open Data Connection to Port   The error "425 Could not open data...

I was FTP'ing and now I can no longer access the server

Your FTP program may be flooding the server with too many connections at once. You will want to...

CodeGuard cannot connect via FTP

The error message "CodeGuard cannot connect via FTP" means that CodeGuard is unable to connect to...

FTP Timeouts

If you are having FTP timeouts there are several things you can try. First is to make sure you...

What are these default ftp accounts?

Understanding Default FTP Accounts in cPanel   When you look at the FTP Accounts section in...



Save 30% on web hosting - Use coupon code Hosting30