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
- Create a bucket in your workspace
- Upload your static files (HTML, CSS, JS, images)
- Add a custom domain to the bucket (see Bucket Domains)
- Your site is live at
https://your-domain.com
Uploading files
Dashboard file browser
Use the built-in file browser to upload files:
- Navigate to your bucket
- Click Upload or drag and drop files
- 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:
| Extension | Content-Type |
|---|---|
.html | text/html |
.css | text/css |
.js | application/javascript |
.json | application/json |
.png | image/png |
.jpg | image/jpeg |
.svg | image/svg+xml |
.woff2 | font/woff2 |
Pricing
Static hosting uses standard object storage pricing:
- Storage: $0.015/GB per month
- Egress: $0.05/GB
- Custom domain: Free