Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/start/framework/react/guide/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Once you've chosen a deployment target, you can follow the deployment guidelines
- [`vercel`](#vercel): Deploy to Vercel
- [`railway`](#nodejs--railway--docker): Deploy to Railway
- [`node-server`](#nodejs--railway--docker): Deploy to a Node.js server
- [`hostinger`](#hostinger): Deploy to Hostinger
- [`bun`](#bun): Deploy to a Bun server
- [`appwrite-sites`](#appwrite-sites): Deploy to Appwrite Sites
- ... and more to come!
Expand Down Expand Up @@ -237,6 +238,28 @@ You can start your application by running:
npm run start
```

### Hostinger

[Hostinger](https://www.hostinger.com) can host TanStack Start applications on its Node.js hosting.

Follow the [`Nitro`](#nitro) deployment instructions to produce a Node.js server build. Nitro writes the output to `.output`, using `.output/server/index.mjs` as the server entry point.

1. Ensure `build` and `start` scripts are present in your `package.json` file:

```json
"build": "vite build",
"start": "node .output/server/index.mjs"
```

2. Push your project to a GitHub repository.

3. In [hPanel](https://hpanel.hostinger.com), create a Node.js application, connect your repository, and set:

- **Build command:** `npm run build`
- **Entry point:** `.output/server/index.mjs`

4. Deploy. Once the build completes, you can attach a custom domain and Hostinger will provision HTTPS automatically.

### Bun

> [!IMPORTANT]
Expand Down
23 changes: 23 additions & 0 deletions docs/start/framework/solid/guide/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Once you've chosen a deployment target, you can follow the deployment guidelines
- [`vercel`](#vercel): Deploy to Vercel
- [`railway`](#nodejs--railway--docker): Deploy to Railway
- [`node-server`](#nodejs--railway--docker): Deploy to a Node.js server
- [`hostinger`](#hostinger): Deploy to Hostinger
- [`bun`](#bun): Deploy to a Bun server
- [`appwrite-sites`](#appwrite-sites): Deploy to Appwrite Sites
- ... and more to come!
Expand Down Expand Up @@ -231,6 +232,28 @@ You can start your application by running:
npm run start
```

### Hostinger

[Hostinger](https://www.hostinger.com) can host TanStack Start applications on its Node.js hosting.

Follow the [`Nitro`](#nitro) deployment instructions to produce a Node.js server build. Nitro writes the output to `.output`, using `.output/server/index.mjs` as the server entry point.

1. Ensure `build` and `start` scripts are present in your `package.json` file:

```json
"build": "vite build",
"start": "node .output/server/index.mjs"
```

2. Push your project to a GitHub repository.

3. In [hPanel](https://hpanel.hostinger.com), create a Node.js application, connect your repository, and set:

- **Build command:** `npm run build`
- **Entry point:** `.output/server/index.mjs`

4. Deploy. Once the build completes, you can attach a custom domain and Hostinger will provision HTTPS automatically.

### Bun

Follow the [`Nitro`](#nitro) deployment instructions.
Expand Down