NewExtra server protection with Measured Boot & UKI images.View Measured Boot
BlogDocumentationFAQNo Third-Party CookiesContact Us
  • Pricing
Log inSign up
Cloud VPSVDSMemory-Optimized VDSStorage-Optimized VDSWindows VPSBitcoin VPSDDoS ProtectionPrivate Networking (VPC)Floating IPsAdditional Server SupportMicrosoft LicensesDatacenterNetworkDocumentationFAQNo Third-Party CookiesConfidential ComputingSelf-Hosted VPNBlogAboutBrand GuidelinesAffiliatesContact UsLegal & Compliance

Products

  • Pricing
  • Cloud VPS
  • VDS
  • RAM-Optimized VDS
  • Storage-Optimized VDS
  • Windows VPS
  • Bitcoin VPS
  • DDoS Protection
  • Private Networking (VPC)
  • Floating IPs
  • Microsoft Licenses
  • Additional Server Support

Explore

  • Documentation
  • Developers API Docs
  • FAQ
  • Datacenter
  • Network
  • Looking Glass
  • Confidential Computing
  • Cookie Policy
  • Self-Hosted VPN

Company

  • Blog
  • Contact Us
  • About Us
  • Brand Guidelines
  • Affiliates

Legal & Compliance

  • Terms of Service
  • Privacy Policy
  • Data Processing Agreement
  • Acceptable Use Policy
  • Microsoft Software Terms of Use
  • Refund Policy
  • Report Abuse

Products

  • Cloud VPS
  • VDS
  • RAM-Optimized VDS
  • Storage-Optimized VDS
  • Windows VPS
  • Bitcoin VPS
  • DDoS Protection
  • Private Networking (VPC)
  • Floating IPs
  • Microsoft Licenses
  • Additional Server Support
Pricing

Explore

  • Documentation
  • Developers API Docs
  • FAQ
  • Datacenter
  • Network
  • Looking Glass
  • Confidential Computing
  • Cookie Policy
  • Self-Hosted VPN

Company

  • Blog
  • Contact Us
  • About Us
  • Brand Guidelines
  • Affiliates

Legal & Compliance

  • Terms of Service
  • Privacy Policy
  • Data Processing Agreement
  • Acceptable Use Policy
  • Microsoft Software Terms of Use
  • Refund Policy
  • Report Abuse

© VPS.BG Ltd. 2026 · All rights reserved!

Made with passion in Bulgaria · VAT ID: BG203144520

Contents

  • Setup requirements
  • Step 1: Add your custom VPS to Forge
  • Step 2: Choose Ubuntu as an operating system
  • Step 3: Select app server type
  • Step 4: Populate the other fields
  • Step 5: Run the generated command & monitor the installation process
  • What makes Forge so good?

Subscribe to Our Newsletter

Join 5000+ subscribers and receive helpful content, deals and more! We promise no spam - 100% great content. Unsubscribe anytime.

Share Article

#Tutorial
  1. Documentation
  2. /
  3. #Tutorial
  4. /
  5. How to set up Laravel Forge on your VPS server

How to set up Laravel Forge on your VPS server

Published: 15 January 2023 • 3 min read

#Tutorial#Laravel

In this tutorial we will have a look at Laravel Forge - a tool that makes deploying PHP applications easy without requiring any prior knowledge on how to manage a Linux server.

Setup requirements

Based on the Forge documentation, you are going to need the following:

  • A VPS server with Ubuntu 20 or Ubuntu 22 installed
  • At least 1 CPU core @ 1Ghz, 1GB RAM and 10GB disk , all of which are included in our VPS plans
  • Installed packages: curl

Finally, you will also need to have an account on the Forge platform with an active subscription.

Step 1: Add your custom VPS to Forge

Open the Forge control panel and click on the “Create Server” button. This will open a modal window, allowing you to select a provider from the already existing ones. From here, select the “Custom VPS” button as shown:

choose the custom VPS option

Step 2: Choose Ubuntu as an operating system

Next, select Ubuntu 20 or 22 from the options in the “Server OS” menu. Then, move to the Type section. Here is the amazing part - not only can you easily deploy full app builds (with web server, php, cache, database) with Forge, but also do just a single database or a load balancer for example.

Step 3: Select app server type

For very small projects, we recommend using the “App server” type. Regardless, there are multiple server types, which will benefit applications from all sizes, allowing you to choose a different server type from these options:

select an app server type

Step 4: Populate the other fields

Next, you will need to input the other settings including the IP address of your server, the SSH port, which will be the default 22 port if you just provisioned your VPS, the PHP version and the database version as well as all other blank fields.

Once you have finished entering the data, click on the “Create Server” button and the system will give you a command to run on your VPS using SSH.

The command will look similar to this:

wget -O forge.sh "https://forge.laravel.com/servers/ID/vps?forge_token=YOUR_FORGE_TOKEN"; bash forge.sh

The software will also give you your new server root password as well as a database root password. Copy them and store them in a safe place!

NOTE: Laravel Forge will disable password authentication for your server. You will need to manually create and set up a SSH key. You can follow our tutorial on how to generate your own SSH key.

Step 5: Run the generated command & monitor the installation process

Next, run the command which you received. Once finished, you will be able to monitor the status of the installation of your server through the control panel:

monitor the installation process

Once the installation completes, a new panel will open, which will have plenty of customization options for your VPS:

customize your vps

What makes Forge so good?

In addition to allowing people without any prior experience to manage their VPS server. Overall, Forge is an extremely powerful tool that not only allows you to easily set up applications, but also enables you to easily maintain it with features like:

  • Easy new website additions
  • Doing database backups on a remote servers
  • Firewall with a friendly UI
  • Creating new databases and users with a few clicks
  • SSH keys management
  • Easy setup for daemons for Laravel Horizon or Laravel queue
  • Changing PHP versions directly from the UI

Laravel Forge can be installed on both a VPSBG VPS and VDS server without any issues.

Subscribe to Our Newsletter

Join 5000+ subscribers and receive helpful content, deals and more! We promise no spam - 100% great content. Unsubscribe anytime.

Share Article

Related Content

23 February 2021

What is DKIM and how to create a DKIM record

DKIM records are a method used to secure your emails, increasing your domain reputation and reducing the chances of your emails being flagged as SPAM.

#Tutorial#Email
19 July 2023

How to install Windows on a cloud server

In this tutorial, we are going to show you how to install Windows OS on your cloud server from an ISO file with Windows Server 2022 & VirtuIO drivers.

#Tutorial#Windows
28 September 2021

How to restore a manual or automatic backup to your VPSBG server

Want to restore a manual or automatic backup to your VPSBG server but you are not sure how to do it? This step-by-step tutorial will guide you!

#Tutorial#VPSBG#Security
28 September 2021

How to take a manual backup of your VPSBG server

Taking a manual backup of your VPSBG server is a very easy and straight-forward process. Learn how to do it in this tutorial!

#Tutorial#VPSBG#Security

Unrivaled Performance & Security

Deploy a powerful and reliable Cloud VPS today to ensure your privacy. SEV-SNP included for maximum protection.

Configure VPSContact Us