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

Changing concurrent connections in SmartFTP

Open SmartFTP. Click on the Tools menu and select Settings. In the Transfer tab, you will...

Changing concurrent connections in FileZilla

The default number of concurrent connections in FileZilla is 10. To improve our server speeds,...

CodeGuard cannot connect via FTP

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

Filezilla Connection timed out after 20 seconds of inactivity

The error message "Filezilla Connection timed out after 20 seconds of inactivity" means that...

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...



Save 30% on web hosting - Use coupon code Hosting30