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

Filezilla Connection timed out after 20 seconds of inactivity

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

421 Too many connections (8) from this IP

The error message "421 Too many connections (8) from this IP" means that you have exceeded the...

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

Making a connection with FTPES (FTP using SSL)

When using FTP, you may wish to have a more secure connection to our server when accessing...

Publishing in iWeb

Here are the steps on how to FTP publish in iWeb:   Open iWeb. In the left pane, click the...



Save 30% on web hosting - Use coupon code Hosting30