Skip to main content

Introduction

Laravel Forge can provision new servers for you in seconds, allowing you to quickly deploy web applications built in PHP or other stacks. We also offer you the ability to provision multiple server types (e.g., web servers, database servers, load balancers) with the option of having a variety of services configured for you to hit the ground running.

Creating servers

To create a new server, navigate to your organization’s overview or “Servers” tab and click “New server”. Provide a name for your server and choose the provider to create the server with, then click “Continue”. Next, you need to configure the type of server you want to create, which region to create the server in, and the size of the server. When creating a custom VPS, you must provide additional information including the server’s IP address and the SSH port to connect to.

Laravel VPS

There are a couple of important differences when creating a Laravel VPS server:
  1. Only servers created in the “Laravel managed” private network are available for instant provisioning. Private networks can be created, but may take longer to provision.
  2. Only servers in the Small, Medium, Large, and X Large sizes are available for instant provisioning. Other sizes can be selected, but may take longer to provision.

Server settings

The server’s Settings tab can be used to update important details of a server, including its name, SSH connection details, timezone, and tags.

IP addresses

If your server’s IP address changes, you should inform Laravel Forge so that it can remain connected and continue to manage your server. To update the IP address of a server, navigate to the Settings tab and update the IP Address field under the Server Settings section.
When rebooting an AWS server, AWS will allocate a new IP address to the server. Therefore, you will need to update the IP address after a server reboot.

Resizing Laravel VPS servers

Laravel VPS servers can be resized to a different specification. To resize a Laravel VPS server, navigate to your server’s settings page. Then, select a new server size from the “Size” dropdown. Click “Save” to save the new settings. When resizing a server, you will be prompted to confirm the action. Once confirmed, the server will be resized, which may take a few minutes to complete.
When resizing a Laravel VPS server, the server will be temporarily unavailable during the resize process.

Timezone

By default, all Laravel Forge servers are provisioned and configured to use the UTC timezone. If you need to change the timezone used by the server, you can do so by selecting one of the timezones from the list. Forge uses the timedatectl command to modify the system’s timezone.

Managing servers

Archiving servers

Archiving a server will remove Laravel Forge’s access to the server while retaining all sites, configurations, and resources. You will still be charged for the server by your provider. To archive a server, navigate to the server’s overview and click the Settings tab. Locate the Danger zone and click Archive server. Enter the name of the server and click confirm.
Archiving a server will not delete your server from the server provider and will not cause any data loss on your server.
Laravel VPS servers cannot be archived.

Unarchiving servers

To archive a server, navigate to the server’s overview. Click the Unarchive button to generate the unique reconnection script. Once you have executed the script on your server, click Unarchive.

Transferring servers

Servers may be transferred between organizations that you are part of. The receiving organization must also have a server provider configured for the server you are transferring. To transfer a server, navigate to the server’s overview and click the Settings tab. Locate the Danger zone and click Transfer server. Confirm the organization you wish to transfer the server to. Server transfers are immediate.
You may only transfer servers to a Laravel Forge organization with an active subscription that have not reached their server quota.
Laravel Forge will not transfer a server on a server-provider level. You must do this manually.

Deleting servers

To delete a server, navigate to the server and click the Settings tab. Locate the Danger zone and click Delete server. Enter the name of the server and click confirm.
Deleting a server will permanently destroy the server from the connected provider, resulting in data loss that cannot be undone by the Laravel Forge team.

Deleting custom servers

When deleting a custom server, the server will only be removed from Laravel Forge. The server itself will continue to run.