SMLL Docs

Static Hosting

Host static websites and assets from S3 storage buckets.

You can serve static websites, single-page apps, and asset files directly from SMLL object storage buckets using custom domains.

Setting up static hosting

  1. Create a bucket in your workspace
  2. Upload your static files (HTML, CSS, JS, images)
  3. Add a custom domain to the bucket (see Bucket Domains)
  4. Your site is live at https://your-domain.com

Uploading files

Dashboard file browser

Use the built-in file browser to upload files:

  1. Navigate to your bucket
  2. Click Upload or drag and drop files
  3. Files are available immediately

S3-compatible CLI

Use any S3-compatible tool to sync files:

# Using AWS CLI
aws s3 sync ./build s3://my-bucket/ \
  --endpoint-url https://s3.smll.io

# Using rclone
rclone sync ./build smll:my-bucket/

Single-page applications

For SPAs (React, Vue, Angular), upload your build output to the bucket. Client-side routing works automatically since all paths serve the bucket contents.

Content types

SMLL automatically sets Content-Type headers based on file extensions:

ExtensionContent-Type
.htmltext/html
.csstext/css
.jsapplication/javascript
.jsonapplication/json
.pngimage/png
.jpgimage/jpeg
.svgimage/svg+xml
.woff2font/woff2

Pricing

Static hosting uses standard object storage pricing:

  • Storage: $0.015/GB per month
  • Egress: $0.05/GB
  • Custom domain: Free

On this page