
surge
Publish static websites to a production-quality CDN from the command line with Surge.

About surge
Surge publishes static websites and client-side apps to a CDN from the command line. Users install the CLI with npm and run surge in a project directory to publish to a surge.sh subdomain or a custom domain via CNAME.
It supports pushState for single-page apps, custom 404.html pages, and cross-origin resource support. It works with Grunt, Gulp, npm scripts, Git hooks, Jekyll, static site generators, and CI services, and collaborators can be added through the CLI.
Key features
- Deploy static projects from project directory using CLI command
- Publish to custom domains by adding a CNAME record
- SSL for surge.sh subdomains
- pushState support for single-page apps
- Custom 404.html pages for projects
- Add collaborators to projects through CLI
- Publishes from the command line inside the project directory
- Integrates with Grunt, Gulp, npm scripts, Git hooks and CI services
- Supports custom domains via CNAME and custom 404 pages
surge at a glance
- Website
- surge.sh
- Category
- Development › Cloud & Web Hosting
- Type
- Online tool
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Good for
- Developers
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Cloud & Web Hosting

surge alternatives
Tools and sites you could use instead, ranked by how closely they match.
Build, test, and deploy full-stack applications on Cloudflare Pages, a serverless platform for frontend developers.
Static websites can be published from the command line using Surge and its CDN.
Publish static websites through SourceHut Pages using a provided subdomain or a custom domain.
Deploy static sites to production on Sevalla, a hosting service that serves them from the edge.
Bitbucket Cloud supports publishing static websites at a workspace-specific address.
Publish a static site from a git.gay repository with pages.gay, which provides a user subdomain.
Featured in
8 sites8 Best Free Static Site Hosting Services in 2026
For free static site hosting, I'd start with Cloudflare Pages for a generated website and GitHub Pages for a small…
Popular in Cloud & Web Hosting
Well-known listings from the same topic.
surge FAQ
How do I publish a project with Surge?
How do I use a custom domain?
How do I add a collaborator?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.















