In this video, I walk you through the complete process of provisioning a custom VPS server on Laravel Forge. While Forge offers native integrations with providers like DigitalOcean or AWS, sometimes you have a standalone VPS that you want to manage through the Forge panel.
I’ll show you how to prepare a clean Ubuntu 22.04 installation, handle the necessary SSH configurations, and successfully run the Forge provisioning script to get your server ready for production.
What you will learn in this tutorial:
How to create a Custom VPS entry in the Laravel Forge Administration Panel.
How to SSH into your server as the default ubuntu user.
Step-by-step instructions to modify sshd_config to allow Root Login (required for Forge setup).
How to update the root password and restart the SSH service.
Executing the Laravel Forge Provisioning Script as a root user.
An overview of the security measures Forge automatically applies after installation.
Deploying your first site, including options for WordPress and custom Git repositories.
Video Timestamps:
00:00 – Introduction & Project Overview
01:03 – Creating a New Server in Laravel Forge
01:23 – Providing VPS IP & Details
01:47 – SSH Access: Why Ubuntu 22.04 blocks root
02:06 – Modifying sshd_config for Root Login
02:55 – Changing Root Password & Restarting SSH
03:29 – Running the Forge Provisioning Script
04:14 – Post-Installation Security & Login Check
04:49 – Adding Your First Site & Deployment Options
05:14 – Outro & Final Tips
Resources & Links:
Laravel Forge: https://forge.laravel.com
#Laravel #LaravelForge #VPS #Ubuntu #PHP #WebDevelopment #DevOps #Hosting #MarcinWesel