• Docs
  • Changelog
Sign in
Get started
    • Home
    • Your first deploy
    • Free instances
    • Platform features by plan
    • Use with coding agents
    • FAQ
    • Templates
      • Migrate from…
        • Heroku
        • Railway
    • Compute plans
    • SandboxesBeta
      • Service types
        • Which to use?
        • Static sites
        • Web services
        • Private services
        • Background workers
        • Cron jobs
        • Workflows
        • Multi-service architectures
      • Data storage
        • Render Postgres
        • Render Key Value (Redis®-compatible)
        • Persistent disks
    • How deploys work
    • Supported languages
    • Git providers (GitHub, etc.)
    • Build pipeline
    • Deploy hooks
    • Monorepo support
    • Troubleshooting deploys
      • Previewing changes
        • Single-service previews
        • Preview environments (multi-service)
      • Docker deploys
        • Overview
        • Deploy a registered image
        • Using secrets
      • Runtime
        • Native runtimes
        • Environment variables & secrets
        • Default environment variables
    • Intro to sandboxes
    • Limits
      • How to…
        • Create & configure sandboxes
        • Execute commands
        • Manage files
        • Manage snapshots
      • Use with…
        • Claude Managed Agents
        • Cursor Cloud Agents
        • OpenAI Agents API
      • SDK/CLI reference
        • TypeScript SDK
        • Python SDK
        • CLI commands
    • Intro to workflows
    • Tutorial
    • Limits & pricing
      • How to…
        • Define tasks
        • Define flowsNew
        • Trigger runs
        • Develop locally
      • SDK reference
        • TypeScript SDK
        • Python SDK
      • Example workflows
        • TypeScript examples
        • Python examples
    • Overview
    • Create & connect
    • Database credentials
    • Extensions
    • Version upgrades
    • Logical replication
    • Legacy instance types
      • Database recovery
        • Recovery & backups
        • High availability
      • Database performance
        • Read replicas
        • Connection pooling
        • Admin apps
        • Repacking tables
        • Troubleshooting performance
    • Regions
    • Inbound IP rules
    • Edge caching
    • WebSockets
    • TLS certificates
      • Custom domains
        • Overview
        • Cloudflare
        • Namecheap
        • Other DNS providers
      • Internal traffic
        • Private network
        • Private links
      • Outbound traffic
        • Default IP ranges
        • Dedicated IP addresses
        • Outbound bandwidth
        • Handling network changes
      • Static site config
        • Custom response headers
        • Redirects & rewrites
    • The Render Dashboard
    • SSH / Shell access
    • Projects & environments
      • Service actions
        • Scaling
        • Rollbacks
        • Maintenance mode
        • One-off jobs
      • Infrastructure as code
        • Blueprints overview
        • render.yaml reference
        • Terraform provider
    • In-dashboard metrics
    • Health checks
    • Uptime best practices
      • Logging
        • In-dashboard logs
        • Log streams (syslog/HTTPS)
      • OpenTelemetry (OTel) metrics
        • Provider setup
        • Metrics reference
      • Notifications
        • Webhooks
        • Email / Slack
    • MCP Server
      • Render CLI
        • Overview
        • Command reference
      • REST API
        • Overview
        • API reference
      • Third-party connections
        • OIDC support
        • Datadog
    • Workspaces, members, & roles
    • Login settings
    • Audit logs
      • Organizations
        • Overview
        • SAML SSO
    • DDoS protection
    • Platform maintenance
      • Compliance
        • Overview
        • HIPAA (US health data)
        • HIPAA best practices
        • Shared responsibility model
        • Pentest policy
    • Heroku vs Render
    • Vercel vs Render

Static Sites

Host your website's frontend (React, Next.js, etc.) over a global CDN.

You can deploy static websites (React, Next.js, etc.) to Render in just a few clicks. Serve your application frontends, blogs, and documentation sets over a global CDN, minimizing load times for your users around the world.

Static sites are fast and free to deploy. After you link your site's Git repo, Render automatically updates your site with every push to your specified branch. Each site receives a unique onrender.com URL, and you can add your own custom domains.

Deploying a dynamic site, such as a Rails app?

Create a web service instead of a static site.

Static sites count against your workspace's monthly included amounts of outbound bandwidth and pipeline minutes. You can track your usage in the Render Dashboard.

Get started

In the Render Dashboard, click New > Static Site:

Selecting Static Site from the New menu

Connect your repo, specify your build details (including which Git branch to deploy), and click Create Static Site. You're all set! Render kicks off your site's initial deploy.

For extra help with popular static site generators, we have quickstarts for:

  • Next.js
  • Vue.js
  • Hugo
  • Docusaurus
  • Svelte
  • Jekyll
  • Gatsby
  • Create React App

Features

Global CDN

Render serves your site over a blazing-fast, reliable, and secure global CDN. We cache your content on network edges around the world, ensuring the fastest possible load times for your users.

Pull request previews

With each pull request to your site's deployed branch, Render can automatically generate a preview instance of the site with its own URL. This helps you quickly test out updates before merging.

Learn more about PR previews.

Redirects and rewrites

Define redirect and rewrite rules for your site's paths directly from the Render Dashboard—no code required.

Additionally, Render automatically redirects HTTP traffic to HTTPS.

Custom response headers

Add custom HTTP headers to your site's responses for security and performance.

Immediate cache invalidation

Render insulates your site against failure with zero-downtime deploys. We build your site with every push to your deployed branch, and each build is fully atomic. As soon as a build succeeds, we deploy it and immediately invalidate our CDN caches so your users always see the latest working version of your site.

DDoS protection

Render provides free denial-of-service protection to all static sites and web services. Learn more.

Brotli compression

Render serves your content with Brotli compression, which is better than gzip and makes your sites faster by reducing page sizes.

HTTP/2

All Render sites and web services support HTTP/2 by default, which means fewer client connections to your site and faster page loads.

Managed TLS certificates

Render uses Let's Encrypt and Google Trust Services to automatically issue and renew TLS certificates for every site and service. There is no additional setup, and TLS certificates are always included for free.

Custom domains

Your workspace includes an amount of custom domains based on its plan:

PlanIncluded domains

Hobby

2

Pro

15

Scale

25

Each custom domain you add beyond this amount costs $0.25 per month.

Add custom domains to your static site for free. Specify the domain on your site's Settings page in the Render Dashboard, then follow the instructions to update DNS with your provider:

  • Cloudflare
  • Namecheap
  • Other

Dependency installation

By default, Render automatically attempts to detect and install your static site's dependencies. If you prefer to install dependencies manually, add a SKIP_INSTALL_DEPS environment variable to your site and set it to true. You can then include your own dependency installation as part of your site's build command.

Static Sites
  • Get started
  • Features
    • Global CDN
    • Pull request previews
    • Redirects and rewrites
    • Custom response headers
    • Immediate cache invalidation
    • DDoS protection
    • Brotli compression
    • HTTP/2
    • Managed TLS certificates
    • Custom domains
    • Dependency installation
All Systems Operational
© Render Inc. All rights reserved.