Static hosting

Fast Pages for static sites

Host HTML, CSS, JavaScript, images, and other static files without a container. Create the site in the admin panel, upload content from the terminal with rosticli, and manage domains as easily as with the rest of Roští.

pages deploy
# First static site deployment
$ rosticli login
Opening browser authorization... Done.
$ rosticli pages init
Selected Pages site: docs.rostiapp.cz
$ rosticli pages push --dir dist
Packaging static files... Done. (256 files)
Uploading to Roští.cz Pages... Done.
remote: Pages successfully deployed.

Deploy in three commands

Pages use the same developer rhythm as Stacks: connect a local directory to the service, then push the finished build.

rosticli pages
$ rosticli login
$ rosticli pages init
$ rosticli pages push --dir dist

What Pages solve

Static files without a runtime

A good fit for landing pages, documentation, Astro, Vite, or Hugo builds, and hand-written HTML. No application process needs to run in a container.

Domains and an automatic rostiapp.cz address

A new site receives a test domain such as name-1.rostiapp.cz. Add custom domains in the Proxy tab, and for DNS zones managed by Roští we create the required records automatically.

Storage and price overview

The admin panel shows used storage and an estimated 30-day price. Small static sites start from a zero monthly price.

Content management

Content remains manageable after deployment. rosticli can list files, show site information, and delete a specific path or the whole site content.

  • pages files lists remote files or a specific directory.
  • pages info shows the site, domains, used storage, and can return JSON.
  • pages delete removes selected files or, after confirmation, all site content while keeping the Pages site itself.

Automation through API

Besides rosticli, you can use the REST API to upload, download, and delete files. The company ID and Pages site ID are available in the admin URL.

curl --fail -X PUT \
  "https://admin.rosti.cz/api-n/123/pages/456/files/index.html" \
  -H "X-API-Key: VAS_API_TOKEN" \
  --data-binary "@index.html"

Static sites without operations work

Pages are the shortest path from finished files to a live custom-domain site without dealing with runtimes, processes, or containers.

Start for free