Angular
Deploy Angular apps on Hostinger Node.js hosting, covering static build settings, output directories, and Angular Universal SSR via the other app type.
Opinionated TypeScript framework with batteries included. Hostinger runs Angular as static bundles by default; Angular Universal (SSR) is also supported via the other application type.
app_type: angular
Static mode
Default Angular mode — client-side rendering, routes hydrate in the browser.
package.json
{
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test"
}
}hPanel settings
Application type
angular
Build script
build
Output directory
dist/<project-name> or dist/<project-name>/browser (Angular 17+)
Entry file
— (static)
Note: Angular 17+ splits build output into
browser/andserver/subdirectories. Point the output directory atbrowser/. The project name comes fromangular.json→projects.<name>.
Server mode (Angular Universal / SSR)
Angular Universal pre-renders and serves with a Node server.
Enable SSR
This adds server.ts and updates angular.json with a server build target.
Build
Application type
Use other — Hostinger's angular preset defaults to static output.
hPanel settings
Application type
other
Build script
build
Output directory
dist/<project-name>/server
Entry file
dist/<project-name>/server/server.mjs
Angular's server adapter listens on process.env.PORT by default.
Notes
Node 20 or newer for Angular 17+.
Build output locations change between major Angular versions; check
angular.json→architect.build.options.outputPathto be sure.
Last updated: July 22, 2026
Last updated
Was this helpful?