Skip to content

Static HTML sites ​

Serve pure HTML, CSS, and JavaScript with optional SPA fallback.

Who can use this page? Site Manager.

Create ​

  1. Create a site → Static HTML
  2. Toggle SPA Mode if needed
  3. Create Site
Static HTML creation form with SPA Mode switched off
Enable SPA Mode only when your application needs a client-side routing fallback.

SPA mode ​

When enabled, unknown paths fall back to /index.html instead of returning 404 — required for most client-side routers (React Router, Vue Router history mode).

Leave off for multi-page sites where missing files should 404.

Upload content ​

  • File Manager → site document root
  • Or SFTP (SFTP access)

Typical layout:

text
public/
  index.html
  assets/
    css/
    js/

Caching ​

FastCGI can cache static responses; Nginx also serves static files directly. Purge after deploys if you enable aggressive caching.

Customer documentation · Nusite IT Consulting Limited