---
title: "Web app hosting: deploy from GitHub | Hazeloft"
description: "Web app hosting: import a GitHub repository, Hazeloft builds it and puts it online over HTTPS, and a push to a branch starts a new deployment."
url: https://hazeloft.com/en/products/hosting
lang: en
updated: 2026-12-03T11:32:30Z
---

# From repository to production, on every push.

Hazeloft Hosting is web app hosting that starts from GitHub: import a repository and the platform builds it and puts it online on a subdomain with HTTPS. A push to the production branch starts a new deployment.

[Import from GitHub](https://platform.hazeloft.com/projects)[See pricing](https://hazeloft.com/en/pricing)

CommitsIn-page demo. The commits and the log are illustrative; the environments, states and addresses follow the platform's rules.Four commits: two on main, deployed to production on the project's address, and two on another branch, deployed as a preview on a separate address that stays the same on the second push.

## From a repository to a public address, in four steps.

In the platform, all of this lives in the “Projects” section.

1. ### Connect GitHub

   Connect your GitHub account, install the platform's GitHub app and choose which repositories it can reach. The platform asks for access only to the ones you pick.

   You get: your repositories, listed and ready to import
2. ### Configure the import

   Choose the branch and, for a monorepo, the root directory. The application preset and the package manager are suggested from what the platform finds in the repository; you can change the commands and the output directory, and you add the environment variables before pressing “Deploy”.

   You get: the production domain, shown before you deploy
3. ### Watch the build

   Build logs stream on the page, with error lines highlighted and text search. The deployment summary appears below them.

   You get: a successful build, or the log that shows where it stopped
4. ### The project is online

   The app answers on its subdomain over HTTPS, with a certificate issued automatically. After the first successful deployment, the public address moves behind a CDN.

   You get: the project's public address

## Try the import, right here.

The platform's “New project” screen, reduced to the essentials: pick the preset, name the project and watch the deployment steps. Then play a push to each kind of branch.

New projectDemoImport configurationApplication presetNext.jsAstroVite / ReactVueNuxtSvelteKitStaticOther / NodeProject nameProduction domain:`my-project.hazeloft.site`This name is reserved. Choose another.DeploymentDeployment readyBuild logsno build step: the files are served as they areinstall`npm install`build`next build`output`.next`Deployment summaryAssigning custom domains`my-project.hazeloft.site`The preset sets the commands, the platform runs them in order, and at the end the project gets its address.DeploymentsDeploy my-projectProductionmainDeployment readyNo deployments yet for this project.In-page demo: no network requests. Step names come from the platform; the pace is illustrative.

## The branch decides where the code goes.

GitHub notifies the platform through a signed webhook. What happens next depends on the branch you pushed to.

In GitWhat the platform doesWhere it lands

- `$ git push origin main`

  Production

  ### A new production deployment

  A push to the project's production branch starts a deployment from the latest commit.

  Where it lands

  The project's address, behind the CDN

  `name.hazeloft.site`
- `$ git push origin feature/new-page`

  Preview

  ### A preview for the branch

  Every other branch gets its own deployment. The next push to the same branch rebuilds it, on the same address.

  Where it lands

  A separate, public address, served directly, without the CDN

  `name-random-string.hazeloft.site`
- `$ git push origin --delete feature/new-page`

  Torn down

  ### The preview is closed

  When you delete the branch, its preview deployment is stopped and removed from the project.

  Where it lands

  Nowhere: the branch address is no longer served
- `pull request · tag`

  Ignored

  ### Nothing

  Pull request events and tags are received and ignored. Previews follow branches, not pull requests.

  Where it lands

  Nowhere

The production branch is the one you chose at import. You can also start manually from the project page: “Deploy” takes the latest commit on the branch, “Redeploy” rebuilds exactly the code that is live now, and “Cancel” stops the build in progress.

## Web app hosting: 8 recognised presets.

At import, the platform reads package.json in the directory you chose and suggests the preset, the commands and the output directory. You can change all of them before deploying.

PresetRecognised byBuild commandOutput directory

- ### Next.js

  Recognised by

  `next`

  Build command`next build`

  Output directory`.next`
- ### Astro

  Recognised by

  `astro`

  Build command`astro build`

  Output directory`dist`
- ### Vite / React

  Recognised by

  `vite``react`

  Build command`vite build`

  Output directory`dist`
- ### Vue

  Recognised by

  `vue`

  Build command`vite build`

  Output directory`dist`
- ### Nuxt

  Recognised by

  `nuxt`

  Build command`nuxt build`

  Output directory`.output`
- ### SvelteKit

  Recognised by

  `@sveltejs/kit`

  Build command`vite build`

  Output directory`build`
- ### Static

  Recognised by

  no package.json

  Build commandno build step

  Output directory`.`
- ### Other / Node

  Recognised by

  a package.json with none of the dependencies above

  Build command`npm run build`

  Output directory`dist`

The package manager (npm, pnpm, Yarn, Bun) is read from the “packageManager” field or from the lockfile, and it sets the install command. Recognition runs from specific to general: a project with both “next” and “react” is treated as Next.js.

## What you follow once the project is online.

Each project has its own pages in the platform. The interface is in Romanian; the labels below are its menu items, translated where needed.

- Deployments

  ### The history of every deployment

  Each deployment has a row with its status, environment, branch and duration. Search by message or ID and filter by status; the combined list across all projects also filters by project and branch.
- Logs

  ### What the app writes, in real time

  Runtime logs stream live. Pause the stream, search it and copy the visible lines. Exporting to a file is not available.
- Analytics

  ### Traffic without cookies

  Views, sessions, pages, traffic sources, countries and devices, over 7, 30 or 90 days. No IP addresses or visitor identifiers are kept, so there is no “unique visitors” figure.
- Speed Insights

  ### Core Web Vitals from real visitors

  LCP, INP, FCP, TTFB and CLS, at percentiles from P75 to P99, broken down by route and by country, over ranges from 6 hours to 30 days.
- Observability · from Pro

  ### What the CDN in front of the project saw

  Requests, cache hit rate, traffic, 5xx errors, the most requested paths and status codes, over the last 3 days at most.
- Project settings

  ### Your own domain, on the project

  Attach a domain delegated to the Hazeloft nameservers, at the root or on a subdomain. The DNS record and the certificate are set up automatically.

Analytics and Speed Insights receive data once you add the telemetry script from “Project settings” to your site's pages.

## What you get, in short.

Code source

GitHub, through the platform's GitHub appAccess only to the repositories you choose.

Presets

Next.js, Astro, Vite / React, Vue, Nuxt, SvelteKit, Static, Other / Node

Package managers

npm, pnpm, Yarn, Bun

Build

configured from the preset, with commands you can overrideA Dockerfile of your own cannot be used.

Project address

name.hazeloft.siteThe project name becomes the subdomain: lowercase letters, digits and hyphens, 48 characters at most.

HTTPS

certificate issued automatically, nothing to configure

Previews

one address for every branch that is not the production branchThe addresses are public to anyone who has them.

Minimum plan

GoThe Free plan does not include deployed projects.

## What it does not do.

Four things you are better off learning before you import your first project.

- ### You do not get a server

  Projects run as applications in containers, on shared infrastructure. There is no SSH access, no resources reserved per project, no choice of region and no autoscaling, and we do not promise an availability percentage.
- ### Environment variables are set at import

  You add them in the import form, one by one or from a .env file. The interface has no screen for editing them afterwards, and previews start without them.
- ### No going back to an earlier deployment

  “Redeploy” rebuilds the code that is live now, and “Deploy” takes the latest commit. To return to an older version, revert in Git and push.
- ### Previews on branches, not on pull requests

  Each branch gets an address that is public to anyone who has it; you cannot put a password on it. How many previews can be active at once depends on the plan.

## What a deployed project connects to.

A custom domain starts in Domains, the public address sits behind the CDN, and sites made in Studio show up in the same project list. If you would rather not handle deployment yourself, we do it for you, as a service.

- [DomainsYour domains and DNS records, managed in one place.](https://hazeloft.com/en/products/domains)
- [CDNPuts a connected domain behind an edge cache, with rules and logs.](https://hazeloft.com/en/products/cdn)
- [StudioDescribe the site in plain words; Studio builds it, previews it and publishes it.](https://hazeloft.com/en/products/studio)
- [Managed hostingHosting, DNS and email on your domain, set up and run by us.](https://hazeloft.com/en/services/hosting-and-domains)

## Included in the platform subscription.

Projects are not billed separately. How many you can deploy depends on the plan.

Go

100 RON / month

1 deployed project

Pro

500 RON / month

5 deployed projects

Ultra

1000 RON / month

10 deployed projects

Sites published from Studio count towards the same limit. Analytics and Speed Insights are included in every plan with projects; Observability opens from the Pro plan.

[Compare plans](https://hazeloft.com/en/pricing)

## Frequently asked questions.

### What kind of projects can I deploy?

Web projects from GitHub. The platform has presets for Next.js, Astro, Vite / React, Vue, Nuxt, SvelteKit, Static, Other / Node. The “Static” preset serves the files in the repository with no build step, and “Other / Node” covers a Node project with its own build command.

### Can I use GitLab, Bitbucket or my own Dockerfile?

No. Import works from GitHub only, and the build is configured from the preset and from the build and install commands. A Dockerfile of your own or a docker-compose file cannot be used.

### What happens when I push?

A push to the production branch starts a new production deployment. A push to any other branch creates or rebuilds that branch's preview. Pull request events and tags are ignored.

### Who can see a preview?

Anyone who has the address. A preview address contains a random string, so it cannot be guessed from the project or branch name, but it is not password-protected. Do not put anything in a preview that you do not want seen.

### Can I put the project on my own domain?

Yes, after the first successful deployment. The domain has to be delegated to the Hazeloft nameservers, from the Domains product; a plain CNAME from another DNS provider is not enough. Until then, the project stays on its subdomain of hazeloft.site.

### Do I also get a database, file storage or cron jobs?

No. The product builds and serves the application. You keep the database, storage and scheduled jobs with a separate service and connect them through the environment variables set at import.

### I just want a site that works, without Git. Is this for me?

Probably not. The product is built for people who deploy their own code from GitHub. If you want hosting, the domain and email set up and kept running by us, there is the “Managed hosting” service.

## Import your first project.

You need an account on the Go plan and a repository on GitHub. If you would rather we handle the hosting, see the managed service.

[Import from GitHub](https://platform.hazeloft.com/projects)[See managed hosting](https://hazeloft.com/en/services/hosting-and-domains)
