Where to Host Your FastHTML Apps

Deployment options for FastHTML applications.

David Gérouville-Farrell avatar
  • David Gérouville-Farrell
  • 1 min read
FastHTML logo

FastHTML apps are built on Starlette, which means they can run anywhere Starlette runs. Some options for hosting so I don’t need to look next time.


Simple Deployment Options

  • Railway: go-to choice for simple deployment
  • Plash: Answer.ai’s new hosting service (currently in beta)
  • Modal: Good option if you have free credits (like I do from the Hamel course)

Any Starlette-Compatible Hosting

Since FastHTML apps run on Starlette, they work with any hosting service that supports Starlette applications.

Answer.ai’s FastHTML Deploy repository includes guides for:

  • HuggingFace
  • Replit
  • Vercel
  • Heroku
  • Digital Ocean Droplets (with Docker + SSL)
  • Fly.io
  • Coolify

Recommended for You

Connecting Chrome DevTools to FastHTML Apps for Rapid Style Iteration

Connecting Chrome DevTools to FastHTML Apps for Rapid Style Iteration

How to connect Chrome DevTools to your FastHTML applications for fast CSS and HTML debugging and iteration during development.