Launch component icon Static Website with Diploi

Launch a new Static Website project and you will instantly have access to a development environment. No sign-up required.

component icon

Static Website

Diploi

  • Static file server
  • Caddy
  • Fully configurable
GitHub

Something extra?

Choose some optional add-ons to launch with Static Website

Instant launch. No sign-up required.


Static Website Component for Diploi

A component for hosting static websites on Diploi. Drop in your HTML, CSS, and JavaScript files and get a production-ready, gzip-compressed site served over HTTPS.

Uses the official Caddy Docker image.

Operation

Getting started

  1. In the Dashboard, click Create Project +
  2. Under Pick Components, choose Static
  3. Choose Create Repository, which will generate a new GitHub repo
  4. Click Launch Stack

Development

The component serves files directly from your repository root. Edit your HTML, CSS, and JavaScript files and the changes are reflected immediately after a refresh.

Production

Builds a production-ready image containing your static files. Caddy serves them with gzip compression.

Configuration

The component includes a Caddyfile that you can freely edit to configure Caddy. You can easily add redirects, custom headers, or URL rewriting rules, for example.

Links


What is Diploi?

Diploi is the single SaaS service for managing, developing and hosting your full application.

  • Consistent

    • Consistent environments from development to production
    • Adoptable incrementally - start easy, grow later
  • One-Click

    • Fast 30 second new developer onboarding
    • One-click environment setup
    • Instantly shareable testing environments
  • Zero-Install

    • Zero-install remote development
    • Versatile support for any stack pre-build or custom
Learn more