Deploy Laravel Project For Free With Free SSL Certificate.

Source code: github.com/ERaufi
Welcome to our comprehensive Laravel tutorial where we'll guide you through hosting your Laravel application on InfinityFree, uploading your database, configuring your .env file, and installing an SSL certificate for secure browsing. Whether you're a beginner or an experienced developer, this tutorial will help you navigate the process seamlessly.
In this video, we'll cover:
Setting up a Laravel project locally.
Creating a hosting account on InfinityFree and uploading your Laravel project.
Configuring your database on InfinityFree and uploading your database.
Setting up your .env file to connect your Laravel application to the database.
Installing an SSL certificate to secure your website and enable HTTPS.
Testing your Laravel application on InfinityFree to ensure everything works smoothly.
By the end of this tutorial, you'll have a fully functional Laravel application hosted on InfinityFree with a secure HTTPS connection. Follow along step-by-step, and feel free to ask any questions in the comments section below.
Chapters:
0:00 Introduction
0:21 Cloning From Github
1:13 Installing Composer Packages
2:15 Setting .env
3:00 Installing NPM packages
3:18 Testing in Local Environment
3:50 Creating InfinityFree Account
4:29 Creating Domain
6:43 Setting Filezila
8:50 Setting .env For InfinityFree
9:50 Creating Database in InfinityFree
10:36 Uploading to InfinityFree
11:06 Setting .htaccess
13:15 Debugging Errors in InfinityFree
14:29 Uploading Database to infinityFree
16:10 Creating and Installing SSL Certificate

Пікірлер: 29

  • @parisaraufi3358
    @parisaraufi33585 ай бұрын

    Nice work 👍

  • @eraufi

    @eraufi

    5 ай бұрын

    Thanks 👍

  • @sanaatrash4577
    @sanaatrash45774 ай бұрын

    thank you bro you saved my live

  • @eraufi

    @eraufi

    4 ай бұрын

    You are welcome

  • @hennaraufi3368
    @hennaraufi33685 ай бұрын

    😮😮 amazing

  • @eraufi

    @eraufi

    5 ай бұрын

    Thanks

  • @atduongtuan7425
    @atduongtuan74252 ай бұрын

    wow, thank you. What laravel version are you using?

  • @eraufi

    @eraufi

    2 ай бұрын

    laravel 11

  • @oluwagbemigasundaystephen1738
    @oluwagbemigasundaystephen17383 ай бұрын

    Thanks very much. How can I allow CORS in infinityfree? It is blocking my vue application from accessing laravel api.

  • @eraufi

    @eraufi

    3 ай бұрын

    you are welcome. they won't allow CORS in free hosting. for that you have to switch to premium hosting. as it mentioned here. forum.infinityfree.com/t/cors-issue/92299

  • @user-fy9zv4uf1d
    @user-fy9zv4uf1d4 ай бұрын

    The uploaded image is not showing

  • @eraufi

    @eraufi

    4 ай бұрын

    how do you call them? in my website i usually do {{URL::asset('PATH_OF_IMAGE')}} you can check here stacktips.rf.gd/lazy-load or in my github github.com/ERaufi/LaravelProjects

  • @salaccarljosepht.8681

    @salaccarljosepht.8681

    Ай бұрын

    I have the same problem. Did you solve this? I'm using vite

  • @jeslyndanielleella408
    @jeslyndanielleella4083 ай бұрын

    Hello! After I successfully uploaded my laravel files in filezilla and created my .htaccess file, I tried to go to my domain. Unfortunately, it gave me an error. It says "500 Internal Server Error Something on the website crashed!". Do you have an idea on how to resolve this?

  • @jeslyndanielleella408

    @jeslyndanielleella408

    3 ай бұрын

    I have also already set up the database but it still has the error

  • @eraufi

    @eraufi

    3 ай бұрын

    hello. please check the debugging part at 13:15 if still you get the 500 error. then it mean some files are missing. you can check 1:18 for the installation of packages you have to 1: delete vendor and composer.lock 2:run composer install --optimize-autoloader --no-dev

  • @jeslyndanielleella408

    @jeslyndanielleella408

    3 ай бұрын

    @@eraufi Thanks for the reply! Then should I reupload the vendor and composer.lock after I run composer?

  • @eraufi

    @eraufi

    3 ай бұрын

    @@jeslyndanielleella408 yes

  • @codeurWindev
    @codeurWindev5 ай бұрын

    Error 500 Or the domain is not activated

  • @eraufi

    @eraufi

    5 ай бұрын

    it will take some time to get activated. you can check the status in your control panel. otherwise turn on the debug to find the error you can check at 13:15 of this video

  • @user-vy9iw8qn9c
    @user-vy9iw8qn9c3 ай бұрын

    always says : 403 Forbidden

  • @eraufi

    @eraufi

    3 ай бұрын

    can you please give me some more information in which part you are getting 403 forbidden? please watch 13:15 to see how to debug

  • @sulthanrafli3816
    @sulthanrafli38164 ай бұрын

    idk my .htaccess doesnt work, its always direct to index2.html, not my project, if delete index2.html i get error 403 Forbidden Server or website configuration is blocking you from viewing this page

  • @eraufi

    @eraufi

    4 ай бұрын

    1: you can turn on the debug mode to find the problem you can see 13:16 in the video. 2: this is the .htaccess content see if you had it like this RewriteEngine On RewriteRule ^(.*)$ /LaravelProjects/public/$1 [L]

  • @sulthanrafli3816

    @sulthanrafli3816

    4 ай бұрын

    @@eraufi i change my .htaccess file and work now. Thanks

  • @eraufi

    @eraufi

    4 ай бұрын

    @@sulthanrafli3816 great. you are wellcome

  • @dansonmwangi5660

    @dansonmwangi5660

    4 ай бұрын

    @@eraufi Hi, what is the syntax for accessing index.php that is in the root folder via htaccess?

  • @eraufi

    @eraufi

    4 ай бұрын

    @@dansonmwangi5660 this is the sytex of .htaccess you can change the third line to redirect to any folder you want RewriteEngine On RewriteRule ^(.*)$ /LaravelProjects/public/$1 [L]