Host a static site by uploading a zip
Put a static website on DASTER from a folder or a .zip of up to 100 MB, with one command or one upload in the Dashboard, and give it your own domain.
Published · DASTER
Last updated
To host a static website from a zip on DASTER, put the site in a folder with an index.html and run daster deploy ./site --name my-site, or upload a .zip of up to 100 MB under Hosting › Deploy an app › Upload a .zip. After you approve the charge, the site answers at https://<app id>.apps.daster.io.
A static site is a folder of HTML, CSS, JavaScript and images: a landing page, a portfolio, documentation, or the output of a site generator. It needs no GitHub repository and no server code. DASTER Hosting runs it in Mumbai (ap-south-1) from a .zip, and the daster command makes the .zip for you.
Before you start
- You have a DASTER project. DASTER is in testing: new accounts come from the waitlist.
- Your organization's wallet has money in it. Before a deploy starts, DASTER checks that the wallet can pay the next hour of everything you run on Hosting.
- Your site has an
index.htmlat the top of its folder. If a build tool makes the site, run the build first and deploy its output folder, such asdist.
Install the daster command
npm install --global @dasterhq/daster daster --versionYou can also run it once with
npx @dasterhq/daster.Sign in with deploys allowed
daster login --writeThe command prints an address. Open it while signed in to DASTER, choose the Organization, Project and Environment, tick Upload, deploy websites and connect databases and choose Allow. The command waits up to 10 minutes for you.
Deploy the folder
daster deploy ./site --name my-siteThe command zips the folder. A folder with an
index.htmland nopackage.jsonorDockerfileis a plain site: the command places it inpublic/, which Hosting serves. It leaves out.git,node_modules,.envfiles (.env.exampleis kept),.pem,.key,.p12and.pfxfiles,.aws,.sshand symbolic links. The archive may be at most 100 MB. You can also pass a.zipfile you made yourself.The name comes from
--name, or from the folder name, as lowercase letters, digits and hyphens, at most 40 characters.Approve the charge
Hosting charges your wallet, so the command prints "Approve this in DASTER (it charges your wallet):" with the address of Developer access › Approvals, and waits up to 15 minutes. Choose Approve once there. The command then prints
Deploying <app id> (deployment <deployment id>).Check the site
daster call app_status --args '{"appId":"<app id>"}'The answer shows the website's state and its address,
https://<app id>.apps.daster.io.
Can I upload the zip in the Dashboard instead?
Yes. In Hosting, choose Deploy an app, then Upload a .zip, and pick a .zip of your site folder (up to 100 MB). DASTER detects how to build and run it, the same way as for a repository, and you review the settings before the deploy. For a plain HTML site you zip yourself, use the layout the command makes: the files inside a public/ folder.
DASTER refuses archives with links, paths outside the folder or damage, and leaves out node_modules, .git and .env files.
How do I ship a new version?
Run the command again with the website's ID:
daster deploy ./site --app <app id>In the Dashboard, use Build & deploy settings › Deploy from a new .zip. Each new version waits for an approval, like the first one.
Can I put my own domain on it?
Yes. Open Domains in the project and connect a domain you already own. DASTER shows the DNS records to add at your DNS provider and sets up a free Let's Encrypt certificate. See Connect a domain.
What does a static site cost?
Hosting is paid from your organization's wallet by the hour. On a web service's Scaling tab, Autoscale with a minimum of 0 lets it stop completely when nobody visits; you pay only for hours in which an instance ran, and the next visit waits a few seconds while one starts. Prices are not final: the pricing page explains how billing works.
More in the docs: Upload a .zip, autoscale and promote and The daster command.
DASTER is in testing and sign-up is waitlist-only. Join the waitlist and you get access 20 days after you join.
Questions about hosting a static site from a zip
How large can the zip be?
Up to 100 MB, from the command and from the Dashboard. The command leaves node_modules, .git and .env files out of the archive it makes.
Do I need GitHub?
No. A folder or a .zip is enough. If you later want a deploy on every push, connect a GitHub repository instead.
Can I deploy a React or Vue site?
Yes, as its build output. Run your build, then deploy the output folder, for example daster deploy ./dist --name my-site. The folder needs an index.html.
Can my AI coding tool upload the site for me?
Yes. Through DASTER's MCP server, Claude Code or Cursor can upload a site's files or get a one-use link for a .zip of up to 100 MB, then create and deploy the website. Each deploy waits for your approval.
Where does the site run?
In Mumbai (ap-south-1), the only region open today, at https://<app id>.apps.daster.io until you connect your own domain.