Static site backend

Form backend for static websites

Static websites still need a dependable way to capture contact forms, quote requests, and waitlists. Formserve gives static sites a portable form backend that works across hosts and frameworks without server setup.

Works with any host Allowed domains and honeypot spam trap Portable endpoint URLs

§ 01 · Overview What you get

Host anywhere

Use Formserve on Netlify, Vercel, Cloudflare Pages, GitHub Pages, WordPress, Webflow, Framer, or any static host that can render an HTML form.

Keep a portable workflow

When the frontend moves hosts, the submission inbox and routing stay the same.

Add operations after launch

Route leads into the tools the team already uses without changing the frontend project structure.

§ 02 · Context A static site does not need a custom form backend

Most static websites only need a clean POST target, spam protection, and a reliable inbox for submissions.

Formserve is intentionally endpoint-first. You paste a URL into the form action and keep the rest of the site as-is.

That makes it a better fit than building a one-off serverless function for every brochure site, landing page, or marketing microsite.

§ 03 · Context Good fit for agencies and fast-moving launches

Static sites are common in agency, freelance, and startup work because they are fast to ship.

Formserve complements that workflow by giving every static site a backend layer for submissions, alerts, exports, and integrations without tying the form workflow to one deploy provider.

§ 04 · Context Works with every static host and framework

Because Formserve only needs a standard HTML form POST, it does not care how the site was built or where it is deployed. Hand-written HTML, Astro, Eleventy, Hugo, Jekyll, Next.js static exports, Gatsby, SvelteKit, Webflow, Framer, and WordPress all submit named fields the same way.

The same is true for hosts. A form pointed at a Formserve endpoint keeps working whether the site sits on Netlify, Vercel, Cloudflare Pages, GitHub Pages, an S3 bucket, or a traditional web host. Nothing is coupled to a build step or a single provider.

That portability is the point: if you migrate the site later, the endpoint URL, the stored submissions, and every integration stay exactly where they are. See the framework and platform guides in Related pages for copy-paste setups.

§ 05 · Context Common static-site form mistakes to avoid

The most common failure is a form with no action at all, or one pointing at a serverless route that was never deployed. The page looks finished but every submission is lost. Pointing the action at a hosted endpoint fixes this in one line.

The second is forgetting the allowed-domain step, so submissions from the live domain are treated as unauthorized. Add the production domain before launch and test from the deployed site, not just localhost.

The third is skipping spam protection on a public form. A live endpoint gets discovered by bots quickly, so add the hidden _honeypot field and pick a spam protection level from the start.

§ 06 · Setup How to connect it

1
Create a Formserve endpoint for the static site form.
2
Set the form action to the endpoint URL and method to POST.
3
Add named inputs, the _honeypot field, and the production domain to allowed domains.
4
Submit from the deployed site and verify inbox delivery.

§ 07 · Example Keep the form simple

form-backend-for-static-websites.html — minimal
<form action="https://formserve.io/f/YOUR_ENDPOINT_KEY" method="POST">
  <input type="text" name="_honeypot" tabindex="-1" autocomplete="off" style="position:absolute;left:-9999px" />
  <input type="text" name="name" required />
  <input type="email" name="email" required />
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>

§ 08 · FAQ Common questions

Will this work if I move the site to a different host later?
Yes. The endpoint and inbox stay in Formserve, so the frontend can move without changing where submissions are managed. This is the main advantage over host-tied options — see the Netlify Forms comparison in Related pages.
Do I need JavaScript for a static contact form?
No. A plain HTML form is enough. Add JavaScript only if you want inline status or a custom submit experience. A redirect URL gives you a thank-you page with no JavaScript at all.
Which static site generators and hosts are supported?
All of them. Formserve accepts a standard form POST, so Astro, Eleventy, Hugo, Jekyll, Next.js, Gatsby, SvelteKit, Webflow, Framer, and WordPress work on Netlify, Vercel, Cloudflare Pages, GitHub Pages, or any static host.
How do I stop spam without a CAPTCHA on a static site?
Add the hidden _honeypot field and set a spam protection level on the endpoint. Formserve filters bots invisibly using the honeypot, rate limiting, and blocklists, so you avoid a CAPTCHA that would hurt conversion.