Laravel hosting on a server you own.
Laravel hosting comes in three kinds: a managed platform that runs the servers for you, shared PHP hosting, and your own VPS. A VPS gives you root access, a fixed monthly price and room for several apps, but someone has to set it up. ServerDog is a Mac app that does that: it installs Nginx, PHP, a database and Redis on a fresh Ubuntu server and deploys your Laravel app from Git with zero downtime.
By ServerDog. Updated .
Key facts
- Laravel hosting comes in three kinds: managed platforms, shared PHP hosting and your own VPS.
- A Laravel server needs Nginx, PHP with Composer, a database, and usually Redis, Node.js, queue workers and a cron entry for the scheduler.
- ServerDog installs that stack on a fresh Ubuntu 24.04 or 26.04 server in about 8 to 12 minutes, from a Mac app.
- With your own VPS you pay the provider’s price for the server. ServerDog itself is a one-time purchase of $99 or $199.
- Several Laravel apps can share one server, each with its own PHP version, database and deploy key.
What are the kinds of Laravel hosting?
| Kind | Who runs the server | Server access | What you pay | Fits when |
|---|---|---|---|---|
| A managed platform | The platform. You never log in to a server | None | A plan plus usage: compute, database, bandwidth | You don’t want to own a server at all |
| Shared PHP hosting | The host. Many customers share one machine | Usually limited or none | A low fixed price | A small site with no queues or long-running processes |
| Your own VPS | You, with a server panel doing the setup | Full root access | The provider’s fixed price for the server | You want control, a fixed bill and room for several sites |
A managed platform, such as Laravel Cloud, is the hosting itself. You connect a repository and it runs your app on machines you never see. Read how Laravel Cloud compares with a VPS.
Shared PHP hosting puts many customers on one machine. It can serve a simple Laravel site, but Laravel’s queue workers and other long-running processes often aren’t allowed there.
Your own VPS is a virtual server you rent from a provider such as Hetzner, DigitalOcean or Vultr. Everything Laravel can do works there. The work is in setting it up and keeping it running, which is what a server panel is for.
What does Laravel need from a server?
More than PHP. This is what a production Laravel app usually relies on, and what ServerDog sets up for each item:
| Laravel needs | ServerDog sets up |
|---|---|
| A web server and PHP | Nginx and PHP-FPM, with PHP versions from 8.5 down, several side by side |
| Composer and Node.js | Composer for packages and Node.js 24 for the asset build |
| A database | MySQL 8.4, MariaDB 11.8 or PostgreSQL 18, with a database and user per site |
| A cache and queue backend | Redis and Memcached |
| Queue workers | systemd services that restart themselves and after each deploy, or Horizon |
| The scheduler | A switch that runs artisan schedule:run every minute |
| HTTPS | Let’s Encrypt certificates, requested once DNS resolves and renewed by the server |
| Safe deploys | Release folders, a one-step switch and rollback to any kept release |
| Backups | Scheduled database dumps to an S3-compatible bucket in your own account |
The Laravel guide walks through it step by step, from a fresh server to deploys on every push.
Who sets up the VPS?
You can do it by hand over SSH. Most people use a server panel, and panels differ in where they run:
- A hosted panel, such as Laravel Forge or Ploi, runs in its vendor’s cloud, holds a key to your servers and bills monthly.
- A self-hosted panel is a web application you install and look after on a server.
- ServerDog is an app on your Mac. It connects over your own SSH key, and no vendor sits between you and the server.
What does ServerDog do for Laravel in particular?
- The Laravel preset writes
.envwith a generatedAPP_KEYand the database settings. - Its deploy script runs Composer, the asset build and
artisan migrate --forcein a new release, then switches to it. Read how zero-downtime deploys work. - Switches turn on the Scheduler, Horizon and Inertia SSR, and you can add queue workers. Read how ServerDog runs workers.
- A deploy script pasted from Forge has its
$FORGE_variables renamed for you. - Maintenance mode can be turned on and off from the app, which runs
artisan downandartisan up.
What does Laravel hosting on a VPS cost?
Two things. The provider bills you for the server, at a fixed monthly price that ServerDog shows for each size before you choose. And ServerDog is a one-time purchase: $99 with a year of updates, or $199 with lifetime updates. There is no charge per site, per server or per deploy. See the pricing in full.
When is your own VPS the wrong choice?
- You don’t want to be responsible for a server at all, including choosing its size.
- Your traffic is spiky and you want autoscaling or scale to zero.
- You need a team with roles, or uptime checks that run from outside your own computer.
In those cases a managed platform or a hosted panel fits better.
Go deeper
Questions
What is the best way to host a Laravel app?
It depends on who should run the server. A managed platform such as Laravel Cloud runs everything for a plan plus usage. Your own VPS costs a fixed price and gives you root access, and a server panel does the setup. Shared hosting suits only small sites without queues.
Can I host Laravel on a VPS without being a system administrator?
Yes. A server panel installs and configures the stack for you. ServerDog sets up Nginx, PHP, the database, Redis and the firewall on a fresh Ubuntu server from a Mac app and deploys from Git, so you never edit an Nginx file or run apt yourself.
What does a server need to run Laravel?
Nginx or another web server, PHP with Composer, a database, and usually Redis, Node.js for building assets, a process supervisor for queue workers and a cron entry for the scheduler. It also needs HTTPS and a way to deploy without downtime.
Can I host more than one Laravel app on one VPS?
Yes. Each site has its own folder, Nginx config, PHP version, database and deploy key, so several apps can share one server. The limit is the server’s memory and CPU, not a per-app price.
Is a VPS cheaper than managed Laravel hosting?
For steady traffic it usually is, because you pay the provider’s fixed monthly price for the server whatever the traffic, and several sites can share it. A managed platform can cost less for an app that is idle most of the time and scales to zero.
Do I need Laravel Forge to host Laravel on a VPS?
No. Forge is one of several tools that set up a VPS for Laravel. ServerDog does the same work from a Mac app over your own SSH key, as a one-time purchase instead of a subscription.
Which VPS providers work for Laravel hosting?
Any provider that offers Ubuntu 24.04 or 26.04. ServerDog creates servers at Hetzner, DigitalOcean and Vultr from inside the app, and you can add a server from any other provider by its address and SSH key.
Last updated by ServerDog.