Deploy guide

How to deploy Angular

Angular builds your site to a folder of plain files. Here's how to build it, which folder to publish, and the setup on each host.

npm run builddist/YOUR-PROJECT/browser

Pick a host

Where do you want it?

Before any host

Build it

Run npm run build. The site comes out in dist/YOUR-PROJECT/browser: that folder is what goes online, whichever host you pick.

Angular routes in the browser, so the host has to send unknown paths to index.html. Each guide shows how.

Good to know

Worth knowing first

  • Angular 17 and later put the site in dist/YOUR-PROJECT/browser. Older versions build straight into dist/YOUR-PROJECT. Use the name from angular.json.

Or skip the setup

Drop it in. It's online in seconds.

A file, a folder or a whole site: 99helpers puts it online at its own address, with no git, no build settings and no DNS to start with. Add your own domain whenever you're ready.