Hosting. Domains. Your next step online.

Fix “Index of /” after uploading a static site in cPanel

How-to Guides

Seeing a list of files instead of your homepage? Your web server hasn’t found a default home page in the folder it serves. For a static HTML site, check where index.html landed.

1. Find the folder your domain serves

In cPanel, open Domains, find your domain and click its Document Root. This opens the right folder in File Manager. An add-on domain can have a different root from your main site.

2. Put the home page at the top level

Look for a lowercase index.html directly in that folder. If the ZIP unpacked into a dist or out folder, back up any existing site and move the contents of that folder up one level. Keep asset folders beside the HTML file.

cPanel File Manager lists a dist folder with no index.html beside it
Before. The home page is one level too deep in the sample export.
cPanel File Manager lists index.html beside the assets folder
After. The home page and assets sit together in the sample document root.

3. Test the home page directly

In a private browser window, open your domain followed by /index.html. A 404 is a cue to recheck the folder and filename. If the file opens but the bare domain still shows a list or an old page, ask your host to check which default index file the server serves.

See cPanel’s document root instructions or browse all How-to Guides.