Documentation

Everything you need to deploy sites, collect leads, and grow your web presence.

🚀 Deployment Guide

1

Create an Account

Sign up at /register — it's free and takes 10 seconds. No credit card required.

2

Start a New Deployment

Go to Dashboard → Sites → Deploy New. Enter a name and choose your subdomain (e.g., mysitemysite.liveinsec.com).

3

Upload Files or Use the Editor

You have two options:

  • ZIP Upload — Drag and drop a ZIP file containing your HTML, CSS, JS, and assets. Must include an index.html.
  • Code Editor — Build from scratch or start from a template using our built-in Monaco editor with syntax highlighting.
4

Review and Deploy

Preview your site before deploying. Check the file list, warnings, and live preview. Click Deploy and your site goes live instantly on your chosen subdomain.

💡 Pro Tip

Make sure your ZIP has index.html at the root (not inside a subfolder). If your files are inside a single folder, we auto-detect that.

📬 Form Collection API

Every deployed site gets a unique API endpoint for form submissions. Point any HTML form to it and we capture every submission — with spam protection, rate limiting, and optional email alerts.

HTML Form Example

html
<form action="https://liveinsec.com/api/forms/YOUR_API_KEY" method="POST">
  <input name="name" placeholder="Your Name" required />
  <input name="email" type="email" placeholder="Email" required />
  <textarea name="message" placeholder="Message"></textarea>

  <!-- Honeypot field (hidden, prevents spam bots) -->
  <input type="text" name="company" style="display:none"
         tabindex="-1" autocomplete="off" />

  <!-- Optional: redirect after submit -->
  <input type="hidden" name="_redirect"
         value="https://yoursite.com/thank-you" />

  <button type="submit">Send Message</button>
</form>

JavaScript (AJAX) Example

javascript
const response = await fetch(
  "https://liveinsec.com/api/forms/YOUR_API_KEY",
  {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      name: "John Doe",
      email: "john@example.com",
      message: "Hello from my website!"
    })
  }
);

const data = await response.json();
console.log(data);
// { success: true, message: "Submission received" }

Special Fields

FieldDescription
_redirectURL to redirect to after successful submission
_formNameCustom form name (default: "default"). Useful when you have multiple forms on one site
[honeypot]Hidden field (default name: "company"). If filled, submission is silently rejected as spam

Response Format

json
// Success (200)
{ "success": true, "message": "Submission received" }

// Rate limited (429)
{ "error": "Rate limit exceeded. Try again later." }

// Invalid API key (404)
{ "error": "Site not found or inactive" }

Built-in Protections

  • Rate Limiting — Configurable per-IP rate limit (default: 10 requests per 10 minutes)
  • Honeypot Field — Hidden spam trap field (bots fill it, humans don't)
  • Origin Validation — Optional: restrict which domains can submit to your form
  • Payload Limits — Maximum 100KB per submission, 50 fields max

⚠️ Finding Your API Key

Each site has a unique API key shown on the site detail page. Go to Dashboard → Sites → [Your Site] to find it.

🌐 Custom Domain Setup

Connect your own domain to any deployed site. Custom domains include automatic SSL.

💎 Premium Feature

Custom domains require the Custom Domain feature from the Feature Store.

1

Buy a Domain

Purchase a domain from any registrar: Cloudflare, Namecheap, GoDaddy, Google Domains, etc.

2

Configure DNS

In your registrar's DNS settings, create a CNAME record pointing your domain to LiveInSec:

TypeNameValue
CNAMEwwwcname.liveinsec.com
A@ (root)Use your server IP for apex domains
3

Add Domain in Dashboard

Go to Dashboard → Sites → [Your Site] → Settings and enter your custom domain (e.g., www.example.com).

4

Wait for DNS Propagation

DNS changes can take up to 24-48 hours to propagate globally, though most complete within 30 minutes. Once propagated, visit your domain and it will serve your site.

Common Issues

  • Apex/root domains (example.com without www): Use an A record or ALIAS record instead of CNAME.
  • SSL not working: Wait for DNS propagation to complete. SSL is provisioned automatically.
  • Domain shows wrong site: Make sure the domain is saved correctly in site settings (case-sensitive).

Frequently Asked Questions

What file types are supported?
HTML, CSS, JavaScript, images (PNG, JPG, GIF, SVG, WebP), fonts, PDFs, and any other static assets. No server-side languages (PHP, Python, etc.).
What's the maximum file size?
Individual ZIP uploads can be up to 10 MB by default. The decompressed size limit is 100 MB with a maximum of 500 files.
Is there a free tier?
Yes! Free accounts get 3 sites, free subdomains, and basic form collection. Paid features like analytics, custom domains, and extended submissions are available in the Feature Store.
Can I use a custom domain?
Yes — purchase the Custom Domain feature from the Feature Store, then follow the setup guide above.
How do form submissions work?
Each site gets a unique API endpoint. Point any HTML form's action attribute to it and submissions are captured automatically. See the Form API docs.
Is my data secure?
Yes. All sites include free SSL, IP-based analytics use SHA-256 hashing, and we enforce rate limiting, CORS controls, and honeypot spam protection on all form endpoints.

Ready to get started?

Deploy your first site in under 60 seconds.

Create Free Account