How to set up Laravel Forge on Webdock
Last updated: November 10th 2022
Introduction
Laravel Forge is a cloud management panel. It helps you deploy PHP applications on your Webdock server.
Prerequisites
- A fresh Webdock cloud Ubuntu Focal instance.
- You have shell (SSH) access to your VPS.
- Laravel Forge subscription.
Create new shell user and SSH to your server
Create new shell user. After creating the shell user, on the right side, enable "Passwordless Sudo" and apply the settings.
Connecting your Webdock server to Laravel Forge
Log into your Laravel Forge control panel.
Select Custom VPS.
Set IP Address to IP address of your Webdock server.
Change other fields (except the SSH port) as per your requirement. Leave Add Server's SSH Key To Source Control Providers as checked. This will copy any SSH keys you've added in the Laravel Forge control panel to your Webdock server (you can read more about this here).
Then click Create Server.
From the popup screen, store the sudo password and database password to a safe place as you will need those later to manage your server. Then copy the provided command.
WebSSH into your Webdock server.
Switch to root user by executing:
$ sudo su -
Paste the copied command into the WebSSH terminal to link your Webdock server with Laravel Forge.
Once the installation completes reload the Laravel Forge page and you should see that your Webdock server is connected.
Conclusion
Hopefully, by now you should have successfully linked your server to Laravel Forge.
Note: Make sure you point your domain to your Webdock server's IP address in your DNS records.
If you have any issues with the setup feel free to comment below or contact Webdock support.
Related articles
-
How to install OpenLiteSpeed on Webdock
In this article we show you how you can install the OpenLiteSpeed web server on Ubuntu Jammy.
-
How to Deploy your First Node.js Application on your Ubuntu Web Server
-
How to set up WireGuard on your Webdock Server
This article details how you can quickly and easily install WireGuard on your Webdock Server.
-
How to set up OpenVPN on your Webdock Server
This article details how you can quickly and easily set up a VPN on your Webdock server.
-
How to Install and configure aaPanel on Ubuntu
-
How to install azuracast on Webdock
This guide shows you how to work around certain issues when installing azuracast on Webdock.
-
How to set up Ploi on Webdock
This article details the steps you need to go through in order to install Ploi on a Webdock server.
-
How to install and create pipelines in Jenkins
-
Basic WordPress site setup with aaPanel
In this guide, we will install and setup a basic WordPress site with aaPanel.
-
How to use Nginx as reverse proxy and secure connections with SSL certificates
Using Nginx to proxy pass your site with SSL security.
-
Setting up monitoring with Netdata on your Webdock server
-
How to Setup Python Web Application With Flask Gunicorn and Nginx
A simple Python Flask web app hosting with Gunicorn and Nginx
-
How to Daemonize an Application with Systemd
Using systemd to autostart your application on system startup.
-
Set-up New Relic Monitoring on Your Webdock Server
This guide provides step-by-step instructions to install New Relic to monitor your VPS.
-
Getting Started with Ruby on Rails on Webdock
In this guide, we will show you how to get started with Ruby on Rails on your Webdock server
-
How to Install VaultWarden on Your Webdock Server
-
How to Install the Latest Version of HTOP on Ubuntu Server
Instructions to install latest htop package on your Ubuntu server
-
How to Install ImageMagick 7 on Ubuntu LEMP/LAMP stacks
Simple instructions to install ImageMagick 7 along with the PHP extension
-
A Quick Guide to Installing Rust on Ubuntu
-
How To Install Proxmox on Your Webdock Server
This article provides instructions on how to install Proxmox on your Webdock server
-
How To Run Nextcloud on Your Webdock Ubuntu Server
Instructions to Install Nextcloud on your server with Docker
-
The Ultimate Guide to Setting Up Mastodon server
A detailed guide with instructions to set up Mastodon on your Webdock server
-
A Guide To Setting Up Mindustry Game Server on Ubuntu
Step-by-step instructions to set up your own Mindustry server