Guides › HTML / PHP sites › Site down or error screens

Deploy a Static HTML Site to Shared Hosting: Folder, Index and Redirects

Upload files to the document root.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

A static HTML site is the easiest to host. You upload the files to the right folder, make sure the home page is named correctly and add redirects if needed.

1Find the document root2Upload the files3Keep the structure4Use clean links5Add redirects6Enable SSL7Test every pageFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Find the document root

Illustration for Step 1: Find the document root

In your hosting panel look at the domain's Document Root, often public_html.

Step 2: Upload the files

Illustration for Step 2: Upload the files

Use File Manager or FTP. Put index.html directly in that folder.

Step 3: Keep the structure

Illustration for Step 3: Keep the structure

Folders such as css, js and images go alongside it. Links must match, including upper and lower case.

Step 4: Use clean links

Illustration for Step 4: Use clean links

Relative paths like css/style.css work from any folder.

Step 5: Add redirects

Illustration for Step 5: Add redirects

In .htaccess add Redirect 301 /old.html /new.html for moved pages, and a rule to force HTTPS.

Step 6: Enable SSL

Illustration for Step 6: Enable SSL

Install a certificate in the panel and test the padlock.

Step 7: Test every page

Illustration for Step 7: Test every page

Click through links and check for 404s.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.