Articles on: Deploying Your Site

How to deploy a React app

Set homepage to "." in your package.json, build, then upload the zipped build output.


  1. In package.json, set homepage to ".". This makes the build load its files relative to index.html.
  2. Run npm run build. This creates a build folder.
  3. Zip the build folder.
  4. Drag the zip onto tiiny.host.
  5. Choose a link name and click Publish.


Don't include package.json in the zip. If it's there, we try to run your source code as an app instead, which needs a paid plan.


Site loads but the styling is missing


It's almost always homepage. Check it's ".", not a full URL or a path, then rebuild and upload again.


Video Guide


Updated on: 10/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!