> For the complete documentation index, see [llms.txt](https://docs.cloud.olakrutrim.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.olakrutrim.com/basics/krutrim-pages.md).

# Krutrim Pages

Create, publish, and manage static websites on Krutrim Cloud.

## Introduction

Krutrim Pages is a managed static website hosting service on Krutrim Cloud. It lets you create a website, upload its files, and publish it on a managed hostname without provisioning or managing a web server.

Use Krutrim Pages for websites built with HTML, CSS, JavaScript, images, and fonts. Upload the built output of your website, with its directory paths preserved. Server-side runtimes, workers, and databases are outside the scope of static hosting.

## Features

* **Managed hostname:** Each website receives a hostname that you can copy and open from the console.
* **File uploads:** Publish static files and set their public paths using editable object keys.
* **Lifecycle tracking:** Follow provisioning progress and check when your website becomes Active.
* **Site management:** Search, filter, refresh, edit, open, and delete websites from the console.

## Create a Website

1. Open the Krutrim Cloud console and go to **Hosting → Sites**.
2. Click **Create site** and enter the website details.

| Field       | Description                                                                     |
| ----------- | ------------------------------------------------------------------------------- |
| Site name   | A recognizable name for the website in the console.                             |
| Region      | A region available to your project.                                             |
| Subdomain   | Lowercase letters, numbers, and hyphens. Begin and end with a letter or number. |
| Description | Optional information about the website's purpose or owner.                      |

3. Review the managed hostname preview and submit the creation request.
4. On the **Overview** tab, follow **Created → Provisioning → Available**. Click **Refresh** until the site status changes from **Creating** to **Active**.

Once the website is Active, Overview shows its hostname, region, timestamps, description, and Krutrim Resource Name (KRN).

## Upload and Publish Content

1. Prepare your website's built output. Include `index.html` at the root and retain the paths referenced by your styles, scripts, and images.
2. Open the website's **Files** tab and click **Upload files**.
3. Select or drag in your files, then review the **Object key** for each file before uploading.
4. Return to **Overview**, click **Open site**, and verify that the home page and its assets load correctly.

An object key defines the path used to serve a file. For example:

```
index.html
assets/styles.css
assets/app.js
images/logo.png
```

Object keys are case-sensitive. The paths in your HTML must match the uploaded object keys, including folders and filename case.

To update content, upload the revised files using the same object keys. Refresh the file list and verify the changes on the live website. If older content remains visible, test in a private browser window or use versioned asset filenames.

{% hint style="warning" %}
Uploaded content is published on your website. Do not upload secrets, credentials, private keys, or confidential source maps.
{% endhint %}

## Manage a Website

Use the Sites list to search and filter websites by status. Open a website to view its details and use the available actions:

* **Open site:** Open the managed hostname. Copy the complete hostname from Overview rather than constructing it manually.
* **Edit:** Update the settings supported by the console.
* **Refresh:** Retrieve the latest status and metadata.
* **Delete:** Remove a website through the console confirmation flow. Retain any required files and confirm content-removal and recovery behavior before deletion.

## Billing

Krutrim Pages billing is based on the number of websites. The first website is free, and each additional website has a fixed charge of **₹49 per month**.

| Number of Websites | Monthly Fixed Charge |
| ------------------ | -------------------- |
| 1                  | ₹0                   |
| 2                  | ₹49                  |
| 3                  | ₹98                  |

Billing-cycle, tax, and invoice treatment follow the applicable Krutrim Cloud account terms.

## Troubleshooting

| Issue                          | What to Check                                                                                                                         |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| Website remains in Creating    | Refresh the lifecycle status. If provisioning remains incomplete, contact support with the site name, KRN, region, and creation time. |
| Unable to create a website     | Complete all required fields and check the subdomain format and uniqueness.                                                           |
| Hostname does not open         | Confirm the website is Active and copy its hostname from Overview.                                                                    |
| Home page is missing           | Confirm `index.html` is uploaded at the root with the correct filename case.                                                          |
| Assets return 404              | Check that the paths in your HTML match the uploaded object keys.                                                                     |
| Updated content is not visible | Confirm the revised file was uploaded under the intended key, then test without browser cache.                                        |
