> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiveku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hosting

> Serverless and container hosting options

Every Hiveku project gets a live URL at `yourproject.hiveku.com` as soon as you deploy. You can choose between two hosting types depending on your project's needs.

## Hosting types

<Tabs>
  <Tab title="Serverless (default)">
    The default option for most projects. Your site is served from a global CDN with automatic scaling. Best for static sites, JAMstack apps, and lightweight server-side rendering.

    * Zero cold starts for static assets
    * Automatic scaling to handle traffic spikes
    * No infrastructure to manage
  </Tab>

  <Tab title="Container">
    For projects that need a persistent server process -- like a Node.js API, a Python backend, or a full-stack app with WebSocket connections.

    * Dedicated container with configurable resources
    * Persistent process (your server stays running)
    * Support for background jobs and long-running connections
  </Tab>
</Tabs>

## Hosting dashboard

The hosting dashboard shows:

* **Status** -- whether your site is live, building, or stopped
* **Log viewer** -- real-time server logs and build output
* **Integrations** -- hosting add-ons (see below)

## Cron jobs

Schedule recurring tasks that run on your hosting environment.

<Steps>
  <Step title="Enable cron jobs">
    Go to **Hosting > Cron Jobs** and toggle the feature on.
  </Step>

  <Step title="Choose environment">
    Select whether the cron job runs in your serverless or container environment.
  </Step>

  <Step title="Add a job">
    Enter a cron expression (e.g., `0 */6 * * *` for every 6 hours), the command to run, and an optional description.
  </Step>

  <Step title="Run now (optional)">
    Click **Run Now** to test the job immediately without waiting for the schedule.
  </Step>
</Steps>

## Redirects

Manage URL redirects from the **Hosting > Redirects** tab.

| Field      | Description                                                                                    |
| ---------- | ---------------------------------------------------------------------------------------------- |
| **From**   | The source path (e.g., `/old-page`)                                                            |
| **To**     | The destination URL or path (e.g., `/new-page`)                                                |
| **Status** | HTTP status code: `301` (permanent), `302` (temporary), or `307` (temporary, preserves method) |
| **Match**  | Exact or pattern matching                                                                      |

You can also:

* **Import/export CSV** to manage redirects in bulk
* Set a custom **404 handling** page
* Use up to **150 redirect rules** per project

## Hosting integrations

Enable add-ons from the **Hosting > Integrations** tab:

| Integration           | What it does                                                          |
| --------------------- | --------------------------------------------------------------------- |
| **Visitor Analytics** | Track page views, visitors, and referral sources                      |
| **Cookie Consent**    | Display a GDPR-compliant cookie consent banner                        |
| **Security Headers**  | Add security headers (CSP, HSTS, X-Frame-Options, etc.)               |
| **SEO**               | Auto-generate sitemaps, robots.txt, and meta tags                     |
| **PWA**               | Enable Progressive Web App support with a service worker and manifest |
| **Accessibility**     | Add an accessibility widget for font size, contrast, and navigation   |
| **Made in Hiveku**    | Display a "Made in Hiveku" badge on your site                         |
