On this pageWhen a hosted builder is still fine
A landing page has one job: get a visitor to do one thing, whether that is signing up, booking a call or buying. Everything that slows it down or distracts from that action works against it. Hosting landing pages yourself gives you speed, your own domain and your own data, with no limits on pages or visitors. In exchange, you assemble the pieces a hosted builder bundles: the page, the form, the analytics and, if you want them, the split tests.
When a hosted builder is still fine
A hosted landing page builder makes sense for a one-off campaign, a team with nobody technical, or a launch that needs a polished template by tomorrow. Self-hosting pays off once you run many pages, want leads to flow straight into your own systems, need to keep visitor data under your control, or are tired of paying per page or per visitor tier. The two also combine well: prototype a message quickly on a hosted tool, then rebuild the winning page on your own server once it has proven itself.
Three routes
| Route | Editing | Speed | Upkeep | Fits |
|---|---|---|---|---|
| Static HTML on Caddy or Nginx | Code, or export from a builder | Fastest | Minimal | Developers, a few high-traffic pages |
| WordPress with the block editor | Visual, in the dashboard | Good with a page cache | Core and plugin updates | Marketing teams who already use WordPress |
| Open-source visual builders | Drag and drop | Varies by tool | Application updates | Non-coders who want visual editing without WordPress |
Route 1: static HTML
A static page is a folder of HTML, CSS and images. Nothing runs on the server except the web server, so there is nothing to patch beyond it and nothing to slow it down. Caddy serves one with automatic HTTPS:
offer.example.com {
root * /srv/landing
encode zstd gzip
header /assets/* Cache-Control "public, max-age=31536000, immutable"
file_server
}
Build the page locally or in CI, then publish it with one command:
rsync -az --delete ./dist/ deploy@203.0.113.20:/srv/landing/
Give fingerprinted file names to everything under /assets/ so the one-year cache header is safe, and every new release replaces the old files cleanly.
Route 2: WordPress
If the marketing team already lives in WordPress, the block editor and its patterns build a decent landing page without a page builder plugin. With a block theme, create a page template without the site's main navigation, so the page keeps a single call to action. Page builder plugins add flexibility and weight; whichever you use, put a page cache in front. Our guide to running WordPress on Apache, Nginx or OpenLiteSpeed covers the caching side.
Route 3: open-source visual builders
- Silex (AGPL-3.0) is a visual website builder that outputs static HTML, so you design visually and host the result like Route 1. It runs on Docker or Node.js, and every feature is free, with no premium tier.
- Microweber (MIT) is a Laravel-based CMS with drag-and-drop layouts and live, on-page editing, aimed especially at small online stores. It requires PHP 8.2 or newer.
- Vvveb (AGPLv3 or later) pairs a drag-and-drop page builder with blog and e-commerce features, and runs on PHP with MySQL, MariaDB, SQLite or PostgreSQL.
- GrapesJS is a web builder framework that developers embed in their own tools, not a finished product, but many builders are built on it.
The stack around the page
A landing page without a working form and honest numbers is a brochure. Three small services complete it:
- Forms: HeyForm (AGPL-3.0) builds conversational forms with conditional logic, redirects after submission and webhooks that push each lead into a CRM or chat channel.
- Analytics: Umami (MIT) counts visits, referrers and custom events without cookies, which keeps consent banners simpler, and runs on PostgreSQL. Its Docker Compose file includes the database.
- Follow-up: send leads to a newsletter tool or straight to a booking page; our comparison of self-hosted Calendly alternatives covers the second option.
Tag the call-to-action button so Umami records clicks as an event:
<a href="/signup" class="cta" data-umami-event="cta-click">Get the checklist</a>
On CloudSat, HeyForm, Umami, Microweber and Vvveb are one-click apps, and a static page needs no more than the smallest Cloud VPS, from $1.98/mo.
Split-test without a SaaS tool
Nginx can split traffic between two versions of a page on its own, with the split_clients module. Each visitor is assigned a variant from a hash of their address and browser, so they keep seeing the same version on return visits:
split_clients "${remote_addr}${http_user_agent}" $landing_variant {
50% a;
* b;
}
server {
listen 443 ssl;
server_name offer.example.com;
root /srv/landing;
ssl_certificate /etc/letsencrypt/live/offer.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/offer.example.com/privkey.pem;
location = / {
try_files /index-$landing_variant.html =404;
}
}
Publish index-a.html and index-b.html, give their buttons different event names, and compare conversions per variant. Change one thing at a time, such as the headline or the offer, and let the test run until both variants have collected enough conversions to trust the difference, rather than stopping on the first good day.
A speed checklist
- One message, one action: a single main heading and one primary button above the fold.
- Light images: sized to their display width, compressed to AVIF or WebP, and
loading="lazy"on everything below the fold. - Few fonts: self-host them and load only the weights you use.
- Little JavaScript: a landing page rarely needs a framework; every script delays the moment visitors can act.
- Measure: run Lighthouse in your browser's developer tools on a throttled mobile profile, and fix the largest item first.
Launch checklist
- Domain and TLS: the page answers on its final hostname over HTTPS, and the bare and
wwwvariants redirect to it in one hop. - Sharing previews: Open Graph title, description and image tags, so links pasted into chat apps and social networks show a proper card.
- Form, end to end: submit a real test lead and confirm it reaches the CRM or inbox, and that the visitor lands on a thank-you page.
- Events: the button click and the form submission both appear in your analytics.
- Variants out of search: during a split test, add
<link rel="canonical" href="https://offer.example.com/">to both variant files so they never compete with the main URL. - A privacy notice linked from the footer, describing the form and the analytics you run.
- An uptime check on the page and on the form endpoint, because a broken form costs leads silently.
FAQ
Does a landing page need a CMS?
No. A static page is the fastest and safest option and fits developers well. Add a CMS or a visual builder when non-technical people must change pages without asking a developer.
How do I collect leads without a SaaS form tool?
Run a self-hosted form builder such as HeyForm and embed its form, or post a plain HTML form to a small endpoint of your own. Either way, forward each submission by webhook to the place your team actually works, and send a confirmation email from an authenticated sender.
Are cookieless analytics enough?
For counting visits, sources and button clicks, yes, and they make consent simpler. If you need multi-step funnels across sessions or detailed attribution, a fuller tool such as Matomo can run on your own server too.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




