Get started

Set Up Laravel on Your AtoZNode VPS

Laravel is installed with Nginx, PHP, MariaDB and Composer. Find your project folder, the version and how to keep building.

Order Laravel from the Marketplace App tab as shown in how to order a VPS with a one-click app. When the install card on your server page shows the finished result, follow the steps below.

What you get

A fresh Laravel project in /var/www/laravel, served by Nginx with PHP and MariaDB, plus Composer. It needs 1 GB of memory and takes 6 to 12 minutes.

1. Check it works

Open http://your-server-ip/. You see the Laravel welcome page. The server page lists the Laravel and Composer versions.

2. Work on the project

Connect with SSH and go to the project:

cd /var/www/laravel
php artisan --version

Replace it with your own code, or edit it in place. Run your commands with php artisan from that folder. Set your database details in the .env file there.

3. Domain and HTTPS

Point your domain at the server (guide) and add a free certificate (guide). Set APP_URL in .env to your https address.

4. Before going live

Set APP_ENV=production and APP_DEBUG=false in .env, so error details are not shown to visitors.

Next steps

Still stuck? Contact our team or open a support ticket.

Need a server to try this on?

Cloud VPS plans start at ₹899 a month, with full root access.