---
title: "Lighttpd web server on a VPS · CloudSat"
description: "Deploy Lighttpd on a CloudSat VPS: a fast, lightweight web server with FastCGI, rewrites, TLS and HTTP/2, at home on the smallest Cloud VPS plans."
url: https://cloudsat.io/apps/deploy-lighttpd
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

# Lighttpd on a VPS

Lighttpd is a lightweight open-source web server with FastCGI, URL rewriting, TLS and HTTP/2, built to stay efficient on small servers.

[Deploy Lighttpd](https://dash.cloudsat.io/console/deploy?image=app%3Alighttpd&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About Lighttpd

Lighttpd (say lighty) is an event-driven web server released under the revised BSD license. It serves static files quickly, runs PHP and other languages through FastCGI or CGI, rewrites URLs, compresses output and proxies to backends, with TLS and HTTP/2 built in.

Its memory and CPU use stay low, which makes it a natural fit for the smallest CloudSat plans or a static site that should cost as little as possible to keep online.

After deploy the Ubuntu package is installed and running, serving the default page from `/var/www/html` on port 80.

## What you get with Lighttpd

- Event-driven core with modest memory use
- FastCGI and CGI for PHP, Python and other languages
- URL rewriting, redirects, authentication and compression
- TLS and HTTP/2 support
- Reverse proxying with mod_proxy

## Lighttpd use cases

- Static sites and documentation on the smallest plan
- PHP apps through FastCGI on little memory
- A tiny front end for an internal API

## After you deploy Lighttpd

1. With the server **Running**, the Lighttpd placeholder page should load at `http://<server IP>/`.
2. SSH in as root and put your site in `/var/www/html`, or change `server.document-root` in `/etc/lighttpd/lighttpd.conf`.
3. Enable modules with `lighty-enable-mod` (for PHP: `fastcgi` and `fastcgi-php`, with `php-cgi` installed), then reload the service.
4. Add a TLS certificate and switch on the SSL module before serving a public domain.

## Lighttpd ports

Open these in your firewall if you use one: `80/tcp HTTP`, `443/tcp HTTPS`.

## Lighttpd FAQ

### Lighttpd, Nginx or Caddy?

All three serve static files fast. Lighttpd has the smallest footprint, [Nginx](https://cloudsat.io/apps/deploy-nginx) has the most examples online, and [Caddy](https://cloudsat.io/apps/deploy-caddy) obtains certificates automatically.

### Which plan is enough?

A static site runs comfortably on the smallest Cloud VPS, 512 MB at $1.98. Add memory when PHP or another FastCGI backend runs beside it.

**Disclaimer.** The Lighttpd project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Lighttpd

[All apps in Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

- [NGINX](https://cloudsat.io/apps/deploy-nginx): Web servers NGINX is the open-source web server and reverse proxy that serves static files, terminates TLS and balances traffic across app servers with low memory use.
- [Caddy](https://cloudsat.io/apps/deploy-caddy): Web servers Caddy is an open-source web server and reverse proxy that obtains and renews TLS certificates automatically, configured with a short, readable Caddyfile.
- [Apache HTTP Server](https://cloudsat.io/apps/deploy-apache-http-server): Web servers Apache HTTP Server is the long-standing open-source web server: virtual hosts, .htaccess, mod_rewrite, TLS and reverse proxying from one modular daemon.
- [Static Web Server](https://cloudsat.io/apps/deploy-static-web-server): Web servers Static Web Server (SWS) is a small Rust web server for static files: one binary of about 4 MB with compression, HTTP/2, TLS and an SPA fallback page.
- [Algernon](https://cloudsat.io/apps/deploy-algernon): Web servers Algernon is a single-binary web server written in Go, with HTTP/2, QUIC, Lua handlers, Markdown and templates built in, plus a bundled database.
- [Angie](https://cloudsat.io/apps/deploy-angie): Web servers Angie is a drop-in nginx replacement built by former nginx developers, adding automatic HTTPS, a JSON metrics API, a web console and dynamic upstreams.
