WebGee DocsDocs
Getting Started
Free migration + 30-day money-backSee how

Where to upload your website files

Website files go in public_html. What the other folders in your home directory are, and why uploading to the wrong one is the usual first mistake.

Upload your website files to public_html. Applies to shared, reseller and Premium hosting.

Your home directory

When you connect by FTP, SFTP or SSH you land in your home directory, not your website. It contains:

PathWhat it is
public_html/Your main website. Anything here is served to visitors
mail/Mailbox storage. Do not modify by hand
logs/Access and error logs
tmp/Temporary files and analytics data
etc/, ssl/Account configuration. Leave alone
.bash_logout, .bashrcShell configuration files

Files placed in the home directory rather than public_html are not served to visitors — and are not private either. Uploading a site one level too high is the most common reason a new site shows a directory listing or a default page instead of itself.

Where the homepage goes

Your homepage must be public_html/index.html or public_html/index.php. Those filenames are what the web server looks for; home.html or Index.html will not be served automatically.

Addon domains and subdomains

Each gets its own directory, created when you add it — typically public_html/example.com or a folder you choose. Check the document root shown under cPanel → Domains; that is the authoritative answer for a given domain.

How to upload

Check it worked

Visit your domain. If you see a directory listing or a placeholder page:

  • The files are one level too high. Move them into public_html.
  • They are one level too deep — public_html/mysite/index.html. Move the contents up.
  • The homepage is misnamed. Rename it to index.html or index.php.

Permissions

Uploaded files usually have correct permissions already. If not, directories should be 755 and files 644 — see File and directory permissions.

On this page

Hosted elsewhere?

Cloud Hosting

cPanel on NVMe storage, with LiteSpeed, free SSL and daily backups included.

See plansFree migration