
Why choose Square Cloud?
Every site is served from behind Cloudflare’s global network, with free TLS, a free CDN and DDoS protection wired in by default: the same production-grade edge whether you deploy a static landing page or a full framework SSR app. You configure a subdomain; we handle certificates, caching and routing.Cloudflare edge + Square Shield
Every site sits behind the Cloudflare WAF with Square Shield on top: DDoS mitigation, bot filtering and free, auto-renewing TLS included at no extra cost.
NVMe + 10Gbps, isolated
Enterprise NVMe SSDs and 10Gbps uplinks, with your app in an isolated container. Paired with a free global CDN, static assets are cached at the edge and served close to every visitor.
Managed DNS
Bring your own domain, certificate handled for you: attach a domain you already own (Standard and up), create the DNS records the dashboard shows at your DNS provider, and Square Cloud issues and renews the TLS certificate as soon as they propagate.
Instant snapshots
One-click restore points, included at no extra cost. Recover from a broken deploy in seconds with no data loss and zero downtime.
Supported environments
Host your site with the stack you already use. Start with the website and API hosting guide, then pick your framework below: each card opens a step-by-step guide with code.Frameworks
Angular
Astro
Gatsby
Next.js
Nuxt
Phoenix
Preact
Qwik
React
React Router (Remix)
Ruby on Rails
SolidJS
Vite
Vue
Static HTML/CSS
APIs and backends
Django
Express
FastAPI
Fastify
Flask
Laravel
NestJS
Spring Boot
Not on the list? Virtually any other framework or library runs too: if it starts a web server on port 80, it runs on Square Cloud.
Languages
JavaScript
Bun
Deno
Python
Java
Rust
Elixir
PHP
Go
C#
Ruby
HTML/CSS
Developer ecosystem
Deploy and manage your site from wherever you work:- Square Cloud CLI: deploy, restart and follow logs from the terminal.
- VS Code extension: manage your applications without leaving the editor.
- GitHub: every push to your repository can deploy automatically, by connecting your GitHub repository or from a GitHub Actions workflow.
- SDKs and REST API: automate anything the dashboard does.
How to host my website?
Add a configuration file
Create a
squarecloud.app file at the root of your project. The configuration file guide explains every field. A website also needs:- SUBDOMAIN: the address of your site.
SUBDOMAIN=testserves it attest.squareweb.app. - MEMORY: the RAM reserved for it, 512 MB at least.
Include your dependencies file
Keep your dependencies file in the project:
package.json for Node.js, requirements.txt or pyproject.toml for Python. Square Cloud installs everything it lists on the server. Leave out built-in modules, such as fs in Node.js or random in Python, since they come with the language.Zip the project
Compress your code, the configuration file and the dependencies file into a
.zip. Leave out node_modules, __pycache__, lockfiles such as package-lock.json and other generated files: dependencies are installed on the server, and a smaller upload deploys faster. The CLI and the VS Code extension leave lockfiles out for you. Need pinned versions? Add !package-lock.json to your squarecloud.ignore file.Upload your site
Send the 
.zip on the upload page. Square Cloud installs the dependencies, sets up the environment from your configuration file and puts your site online.
Something went wrong?
App won't start
Fix a deploy that fails or crashes on boot: a port already in use, missing modules,
INVALID_DEPENDENCY or not enough RAM.All troubleshooting guides
Find the fix for an error code or a symptom across apps, bots and databases.
Frequently asked questions
How much does it cost to host a website?
How much does it cost to host a website?
We recommend the Standard plan, from R12.49/month: a website needs at least 512 MB of RAM. See Plans and Pricing for the full comparison.
Do I get a free subdomain?
Do I get a free subdomain?
Yes. Every web deploy includes a
*.squareweb.app subdomain at no extra cost, as part of your plan. It’s ready to use as soon as you set the SUBDOMAIN field in your configuration file.Can I use my own domain?
Can I use my own domain?
Custom domains are available from the Standard plan and up. Square Cloud does not register or sell domain names: the feature connects a domain you already own at a registrar, one hostname per application (such as
example.com or www.example.com). Follow how to set up your own domain for the DNS records, and see why a domain hasn’t propagated yet if it doesn’t load. To attach it from code, use Set Custom Domain.
