Skip to content
🚀 Unlimited+ €3.99/month! Get unlimited credits, auto-renewals, one-click max-out, +5 Discord bot slots, up to 8GB RAM & 200% CPU, +5 email addresses/domain & +2 email domains!
X Systems Hosting
X Systems Hosting
X Systems Help Center

Deploy an HTML, CSS or static JavaScript website

Replace the welcome page with a static project using the correct public directory.

Help Center / Web Hosting
On this page
  1. Prepare the website
  2. Minimal example
  3. React, Vue and Vite
  4. The welcome page is still visible

Prepare the website

  1. 1Choose the Static HTML website type.
  2. 2Build your frontend locally if your framework has a build step.
  3. 3Make sure the final output contains index.html plus its CSS, JavaScript and assets.
  4. 4Open the website’s Files tab and back up the existing public folder.
  5. 5Upload the output contents into public/.
  6. 6Open the HTTPS address and test a second page and an asset.

Minimal example

public/index.html
<!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.