Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

demonz's avatar

Best hosting for laravel app ?

Hello I have this stack laravel, inertia js , react js . and I expect visitors totally around 100 users per day. it's lightweight website not heavy. I need hosting with weekly or daily databse backups, not bad performance and easy to manage and make updates . My current plan is digital ocean 4$ but the databse backup costs 15$ which is high , is there any other good cheap hosting plans without overkilling the performance , thank you

0 likes
4 replies
LaryAI's avatar
Level 58

There are several hosting options available for Laravel applications, depending on your budget and requirements. Here are a few suggestions:

  1. Shared Hosting: Shared hosting is a cost-effective option for small websites with low traffic. You can find several hosting providers that offer Laravel support, such as Hostinger, Bluehost, and SiteGround. However, shared hosting may not be suitable for larger websites or applications that require more resources.

  2. VPS Hosting: Virtual Private Server (VPS) hosting is a step up from shared hosting and provides more resources and control over your server. You can choose from several VPS hosting providers, such as DigitalOcean, Linode, and Vultr. VPS hosting is more expensive than shared hosting but offers better performance and scalability.

  3. Managed Hosting: Managed hosting is a premium option that provides a fully managed server environment, including server setup, maintenance, and security. You can find several managed hosting providers that specialize in Laravel hosting, such as Laravel Forge, Cloudways, and Laravel Vapor. Managed hosting is the most expensive option but offers the best performance and ease of use.

Based on your requirements, I would suggest going with a VPS hosting provider like DigitalOcean. You can choose a plan that fits your budget and requirements and set up automated backups using a tool like Laravel Backup. Here's an example of how to set up backups using Laravel Backup:

// Install Laravel Backup
composer require spatie/laravel-backup

// Publish the configuration file
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"

// Configure the backup settings in config/backup.php
return [
    'backup' => [
        'source' => [
            'files' => [
                'include' => [
                    // Add files and directories to include in the backup
                ],
                'exclude' => [
                    // Add files and directories to exclude from the backup
                ],
            ],
            'databases' => [
                'mysql' => [
                    // Configure the MySQL database connection
                ],
            ],
        ],
        'destination' => [
            'disks' => [
                // Configure the backup destination disk
            ],
        ],
    ],
];

// Set up a cron job to run the backup
* * * * * php /path/to/artisan backup:run

This will create a backup of your files and database and store it on the configured disk. You can also set up notifications to receive alerts if the backup fails or encounters an error.

1 like
ishahzeb's avatar

There are many web hosting providers that can host a Laravel application, and the "best" hosting provider for your Laravel app will depend on your specific needs and requirements. Here are some factors to consider when choosing a hosting provider for your Laravel app:

Server requirements: Laravel requires specific server requirements, including PHP, MySQL, and some PHP extensions. Make sure the hosting provider you choose meets these requirements.

Performance: The speed and performance of your hosting provider can have a significant impact on your Laravel app's performance. Look for hosting providers that offer high-performance servers, SSD storage, and content delivery networks (CDNs) to improve speed and performance.

Security: Security is crucial for any web application. Look for hosting providers that offer secure hosting environments, firewalls, SSL certificates, and regular backups to protect your Laravel app from security threats.

Support: If you're not familiar with server management, you may want to consider a hosting provider that offers managed hosting plans with 24/7 support. This can help you resolve any issues quickly and easily.

Cost: Hosting costs can vary widely, depending on the hosting provider and plan you choose. Make sure you choose a hosting provider that fits your budget, but also offers the features and performance you need.

Some popular hosting providers for Laravel apps include:

AWS (Amazon Web Services), DigitalOcean, Cloudways (Managed Hosting), Laravel Forge, Linode, and Vultr.

Ultimately, you should research and compare different hosting providers to find the best fit for your specific needs and requirements.

jlrdw's avatar

@ishahzeb

Some popular hosting providers for Laravel apps include:

AWS (Amazon Web Services), DigitalOcean, Cloudways (Managed Hosting), Laravel Forge, Linode, and Vultr.

When did Laravel Forge also start offering hosting?

2 likes

Please or to participate in this conversation.