Features / Published sites

Publish a build. Delete the sandbox. The site stays up.

pols publish copies a directory out of a sandbox and serves it at its own address under on.pols.so. Every publish is a version that never changes, so you can go back to an earlier one. The site is private to your org until you share it.

€10 of usage for 30 days · No credit card

curl -fsSL https://pols.so/install.sh | sh
Versions kept by default, up to 100
10
Per version, up to 10,000 files
100 MiB
Custom domains per site, with certificates
10

A press and a plate rack

A publish stamps a plate. The tray of type is the directory in the sandbox. The press copies it into a version that never changes, and the version slides into the rack. The lit slider marks the live version, and the stand keeps showing it after the cabinet is gone. Restoring moves the slider back without making a new plate.

  1. Custom domainsUp to 10 per site and 20 per org, for public and link sites. Once a CNAME (or A and AAAA at the apex) points to the site, pols gets a Let's Encrypt certificate and renews it. Other domains redirect to the primary one with a 308.
  2. The siteServed by pols itself at <name>.on.pols.so, so it stays up while the sandbox is in standby, stopped or deleted. Private to your org by default, or open to anyone with its share link, or public.
  3. VersionsEvery publish adds a version that never changes and makes it live. A site keeps its newest 10 by default (1 to 100) and always the live one. Restoring makes a kept version live again without making a new one.
  4. The presspols publish copies the directory into pols's own storage as one version: up to 10,000 files and 100 MiB. 30 publishes an hour per org.
  5. The directoryA directory in the sandbox, like a build's dist/. Regular files only: symbolic links and dot files are skipped, except .well-known/.
  6. The sandboxIt has to run while you publish; one in standby is woken. Afterwards it can stop or be deleted.
  7. The press frameSites are static files. Nothing runs on the server side: no build step, no redirects file, no functions.
  8. The benchUp to 20 sites per org and 2 GiB for all their files. The files are billed as disk; a file that is the same in several versions counts once.

From a directory to an address

Without --site, a publish makes a new site with a generated name. Publishing to an existing site adds a version and makes it live at once. Sites are static files: pols serves them itself, with no build step and nothing running on the server side. For a server that runs, publish its port with pols host instead.

Custom domains work for public and link sites. Set one DNS record, and pols verifies it, gets a certificate from Let's Encrypt and renews it. The site stays at its on.pols.so address as well.

pols CLI
# publish app/dist from the sandbox web as my-docs
$ pols publish web app/dist --site my-docs
# open it to anyone with the share link
$ pols sites set my-docs --access link
$ pols sites link my-docs
# its versions, newest first; make version 2 live again
$ pols sites get my-docs
$ pols sites restore my-docs 2
# serve it at your own domain; prints the DNS records to set
$ pols domains add my-docs www.example.com
$ pols domains primary my-docs www.example.com

Who can open a site

AccessWho can open it
private (default)Your org's users, logged in at my.pols.so. Everyone else sees the same page as for an address with no site.
linkAnyone with the site's share link, and your org's users. pols sites link --rotate replaces the link, and the old one stops working.
publicAnyone who knows the address.

Agents publish and restore through the MCP server's site_* tools. Everything is also available through the REST API, which can build a site from a GitHub repository as well.

The Sites page on my.pols.so: one uploaded site, private, with its address on on.pols.so, and a form to publish a directory from a sandbox.
Sites on my.pols.so: every site with its source, access and address, and publishing from a sandbox.

€10 of usage for 30 days · No credit card

Questions

Can I set redirects, headers or a single-page app fallback?

No. A site serves its files as they are: no redirects file, no custom headers and no server-side code. A path ending in / serves its index.html, /about redirects to /about/ when that has an index.html and serves about.html otherwise, and anything missing gets your 404.html with status 404.

Does the sandbox have to run?

Only while you publish: a sandbox in standby is woken, and a stopped one must be resumed first. After that the site is served from pols's own storage, whatever happens to the sandbox.

What does a site cost?

Its files are billed as disk, at the same rate as sandbox disks, above the org's 10 GiB free. A file that is the same in several versions of a site counts once. An org can have 20 sites with 2 GiB together.

Will search engines index my site?

Private and link sites tell search engines not to, with X-Robots-Tag: noindex, nofollow. A public site sends no such header, so it can be indexed like any other page on the web.

My domain is on Cloudflare. Does that work?

Yes, with its records set to DNS only. With Cloudflare's proxy on, the domain points to Cloudflare instead of pols, so it cannot be verified and gets no certificate.

Start with one machine.

Install the CLI, sign up, and give your agent somewhere to work.

curl -fsSL https://pols.so/install.sh | sh

€10 of usage for 30 days · No credit card

Start my free trial

€10 of usage for 30 days · No credit card