Prepare the website
- 1Choose the Static HTML website type.
- 2Build your frontend locally if your framework has a build step.
- 3Make sure the final output contains index.html plus its CSS, JavaScript and assets.
- 4Open the website’s Files tab and back up the existing public folder.
- 5Upload the output contents into public/.
- 6Open the HTTPS address and test a second page and an asset.
Minimal example
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>My website</title></head>
<body><h1>My website is online</h1><p>Served from the public folder.</p></body>
</html>React, Vue and Vite
Use the project’s documented production build command on your development machine. Upload the generated files, not only the src directory. Static hosting does not run a permanent frontend development server for you.
If the home page works but a client-side route fails on refresh, distinguish SPA routing from a missing file. Route fallback behavior depends on the runtime configuration; ask support before assuming an arbitrary rewrite file will be honored.
The welcome page is still visible
- Check that you edited public/index.html in the correct server.
- Look for a nested output folder such as public/dist/ or public/my-site/.
- Confirm the domain belongs to this website.
- Try a private browser window or a cache-busting asset filename.
- Check filename case: Index.html and index.html differ on Linux.
Related guides
Website hosting: start here
Choose free or premium website hosting, understand the dashboards, and follow the right setup guide.
Create your free website
A complete walkthrough of the free website wizard, from choosing a runtime to your first public page.
Premium website plans and checkout
Choose a monthly website plan, review the cart, and understand delivery and renewal.
Choose Static HTML, PHP, Node.js or Python
Match your project to a website type before creating the server.