# Inertia SSR for Laravel Sites on FlyWP

> Run the Inertia server-side rendering server for a Laravel site on FlyWP and make sure your build produces the SSR bundle.

Source: https://flywp.com/docs/site/php-apps/laravel-inertia-ssr/

If your Laravel app uses Inertia with server-side rendering (SSR), FlyWP can run the SSR server for you. You turn it on from the **Laravel** page.

## Before you begin

- Install `inertiajs/inertia-laravel` and set up SSR in your app.
- Configure your build to output the SSR bundle at `bootstrap/ssr/ssr.js`, for example by using `vite build --ssr` in your site's **Build command**.

## Turn on SSR

1. Deploy your app once with the SSR bundle built.
2. Open your Laravel site and click **Laravel** in the site menu.
3. In the **Inertia SSR** card, switch on **Run the Inertia SSR server**. The switch appears only when Inertia is installed and the bundle exists.
4. Click **Save Changes**.

FlyWP runs `php artisan inertia:start-ssr` alongside your site. It uses the Inertia default address `http://127.0.0.1:13714`, so you do not need to change your app's SSR settings. FlyWP first shows **Laravel settings updated. Changes may take a moment to take effect.** and then shows **Laravel settings applied successfully.**

## What the card tells you

| Message | Meaning |
| --- | --- |
| **Inertia SSR** (info) | `inertiajs/inertia-laravel` was not found in your `composer.json`. Install it and set up SSR to use it here. |
| **SSR not built** | Inertia is installed, but no SSR bundle was found. Configure SSR and rebuild before enabling it. |
| **SSR bundle missing** | The switch is on, but `bootstrap/ssr/ssr.js` does not exist yet. The SSR service waits until your build produces it. |

While the card checks your site, it shows **Checking SSR setup…**.

![Inertia SSR card on the Laravel page, showing that Inertia is not installed yet](https://flywp.com/wp-content/uploads/2026/11/php-apps-inertia-ssr.png)

If the bundle is missing or not built yet, make sure your build produces it and deploy again so it is created.

## Laravel Octane

If FlyWP detects Octane, the **Laravel** page shows a notice that managed support is coming soon. Octane is not managed from this page yet.

## Related guides

- [Create a Laravel, Symfony or PHP site](https://flywp.com/docs/site/php-apps/create-a-site/)
- [Queue workers](https://flywp.com/docs/site/php-apps/laravel-queue-workers/)
