tuqo
Interactive guide · 3 min read

Blank page after publishing: how index.html works

You open your freshly published site and see a white screen — or the uploader asks for index.html. Here is a visual walkthrough of how static hosting resolves your home page and how to fix it in a minute.

Interactive simulator: what opens from your folder

Click any common folder setup to see how the server reacts and what visitors see in their browser.

my-site/ 200 OK · 0 B
  • index.html empty file 0 B
  • site.html your site is here 24 KB
  • 1.jpg 188 KB
  • style.css 6 KB
White screen (empty index.html served)
blank page (0 bytes) Tuqo
What happens The browser requested “/” and the server dutifully served index.html — which contains 0 bytes. Your real page sits untouched right next to it as site.html.
How to fix Delete the empty index.html, rename site.html to index.html, and upload the folder again. Never create an empty placeholder file.
Common Windows trap

“My file IS named index.html!” — why it might not be

Windows File Explorer hides .html and .txt by default. Click the toggle above to compare what Explorer displays with the real filename:

index.html.html Typed “.html” on an HTML file
index.html.txt Saved from Notepad
about.html.html Links to about.html won't work
Windows 11 File Explorer → View → Show → File name extensions
Windows 10 File Explorer → View tab → tick “File name extensions”
macOS Finder → Settings → Advanced → “Show all filename extensions”

30-second diagnostic: pick what you see

Empty index.html View Source (Ctrl+U / ⌘⌥U) is completely blank

The uploaded index.html is 0 bytes. Check your folder: either the file wasn't saved in your editor, or an empty index.html was created alongside your real page (like site.html). Delete the empty index.html and rename the real page to index.html.

Broken build / JS paths Source has <div id="root"></div>, but screen is white

This is a React/Vite/Vue app whose JS bundle failed to load. Open DevTools (F12 → Console/Network): 404 on /src/main.tsx means raw source files were uploaded instead of dist/ (upload a zip with package.json so Tuqo builds it). 404 on /repo-name/assets/... means vite.config has a subfolder base — set base: '/'.

Site toggle off or paused Page says “Site temporarily unavailable”

Your files are fine, but serving is currently paused: either the site switch in the panel header is off (or the site is in the trash), or the account is paused due to monthly traffic limit or subscription status. Open your Tuqo panel to see the exact status and resume.

Letter case or extension Text loads, but images or styles are missing

Windows treats 4.PNG and 4.png as identical, while web servers (Linux) are case-sensitive. Same for 4.jpg in HTML vs 4.png in the folder. Open “What to improve” on your site — the broken-link check pinpoints the exact path.

Built the site with AI? Paste this prompt

Works in ChatGPT, Claude, Cursor or any coding agent — it will audit the root and filenames for you.

Check my static site folder before publishing to Tuqo:
1. Make sure the home page is named exactly index.html (lowercase, no double extension) in the root folder and contains the full HTML markup.
2. If there is an empty index.html next to another HTML file (such as site.html), remove the empty one and make index.html the real home page.
3. Verify every image, stylesheet and script path matches the real filename including letter case and extension (e.g. .png vs .jpg).

FAQ

Why doesn't Tuqo automatically rename my site.html to index.html? +

We intentionally never mutate or rename your files behind your back: a folder may contain multiple pages, and links or search bookmarks can depend on exact names. Instead, we show the exact filename so you stay in control.

What if my site is just a single HTML file? +

Name that single file index.html and drop it (or the folder containing it) into the uploader. That's all it takes for your site to go live.

Do subpages also need to be named index.html? +

No, only the home page (or the entry file of a subfolder if you want clean URLs like about/index.html → /about/). Regular subpages like about.html or pricing.html work out of the box.

I already uploaded my site — how can I check what's wrong? +

After every publish, Tuqo runs “What to improve” right on the site page: it catches an empty index.html, broken image links, double extensions, and other common pitfalls.

Fixed index.html? Test it in 10 seconds

Drop your folder into the Tuqo panel or try Tuqo Drop without signing up — we'll verify your files on the spot.