{"collection":"posts","slug":"1691436904927-deploy-html-on-replit","cid":"bafkreigqq72np7u6bzbibxmayte5tzshwu7xvspmgywlmilrbrcbntk2wi","title":"Deploy html on Replit","excerpt":"Replit is great but lacks HTML deployment.","body":"[Replit](https://replit.com/) is an amazing tool. Big fan. But currently, you can't deploy a simple HTML project, which is just baffling. Let me throw my `index.html` into the void!\n\nThere's an easy solution, though. Use Replit's `Shell` tool and run `npx surge`. You'll need to select a node version, and then set up an account with [Surge.sh](https://surge.sh) which will let you manage your deploys. Surge will assign you a random domain, but you can change it to whatever you want.\n\nYou can also run `echo your-domain.surge.sh \u003e CNAME` to create a file at your project root that will tell Surge what domain to deploy under.","tags":["web-development","deployment","replit","surge","html","static-site-hosting"],"published":true,"createdAt":"2023-09-07T13:15:00Z","updatedAt":"2025-05-24T16:58:00Z"}
