For the complete Render documentation index, fetch https://render.com/llms.txt. Every docs page is also available as Markdown at https://render.com/docs/{slug}.md.

  • Docs
  • Changelog
Sign in
Get started

Deploy a Docusaurus Static Site

View as Markdown
Open in ChatGPT
Open in Claude

Docusaurus is a popular open-source framework for documentation websites. You can deploy a Docusaurus project on Render as a static site in a few clicks.

Render static sites are served over a lightning-fast global CDN, come with fully managed TLS certificates, and support custom domains out of the box.

  1. In the Render Dashboard, click New > Static Site and connect your Docusaurus repo.

  2. Enter the following settings, then click Deploy Static Site.

    Build Commandnpm install && npm run build
    Publish Directory./build
  3. In docusaurus.config.js, set url to the onrender.com URL shown on your static site's dashboard page. Set baseUrl to / to serve the site at the root of that domain. Commit and push the changes to trigger a new deploy.

Open your site's URL after the deploy succeeds.

If you need to customize the version of Node.js used for your site, see Specifying a Node Version.

View as Markdown
Open in ChatGPT
Open in Claude
Deploy a Docusaurus Static Site
      • 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 & pricing
        • How to…
          • Create & configure sandboxes
          • Execute commands
          • Upload & download 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/CLI reference
          • TypeScript SDK
          • Python SDK
          • CLI commands
        • 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
      • API keys
      • 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
    All Systems Operational
    © Render Inc. All rights reserved.