Deploy Laravel Applications to Hostinger Cloud Hosting

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ส.ค. 2024
  • Special thanks to Hostinger for sponsoring this video. Use code CODEWITHDARY to save another 10% on top of all ongoing discount promotions on the website of Hostinger right here: www.hostinger.com/codewithdary
    Hostinger is an incredible web hosting provider where you can set up shared hosting, cloud hosting, VPS hosting, email hosting, and SSL certificates. Hostinger has made a name for itself due to its fast load times, simplicity, free domains, and powerful servers. On top of that, Hostinger is offering a Black Friday deal where you could get your shared hosting for only $ 2.49. On top of that, Hostinger is even offering free domains and SSL certificates on 1+ year plans.
    This video will show how you the advantages of Hostinger, the available cloud hosting packages, the setup of Cloud Professional, and domain registration. Then at the end, we will be looking at how easily developers cloud deploys a Laravel 9 application on Hostinger its Cloud Professional services.
    📚 New Udemy Course
    If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/course/masterin...
    📲 Let’s plan a meeting
    Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: calendly.com/codewithdary
    💌 Newsletter
    Sign up for my free weekly email newsletter: www.newsletter.codewithdary.com
    🔥 Resources
    - PHP Hosting (10% DISCOUNT): www.hostinger.com/codewithdary
    - TikTok: / codewithdary
    - Instagram: / codewithdary
    - Twitter: / codewithdary
    - Blog: blog.codewithdary.com/
    - Newsletter: newsletter.codewithdary.com/
    - Patreon: www.patreon.com/user?u=30307830
    - GitHub: github.com/codewithdary/larav...
    📋 Table of Content
    00:00 - Introduction
    03:46 - Available Cloud Hosting Packages
    07:06 - Setting up Cloud Professional + Domain
    19:09 - Cloud Deployment Review + Outro
    #hostinger #laravel #cloud

ความคิดเห็น • 95

  • @kasperszczerba5471
    @kasperszczerba5471 2 หลายเดือนก่อน +3

    For Laravel 10 and up, use the composer2 command instead of composer to prevent errors :)

  • @lucasdesouza1768
    @lucasdesouza1768 ปีที่แล้ว +3

    Amazing, man! I have been looking for this for soo long. You saved me 👊🏾❤

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Glad I could help Lucas!

  • @ojovemdev
    @ojovemdev ปีที่แล้ว +1

    Great video! Can't wait to host my first application with hostinger, your video is def a life saver.

  • @josvelema2362
    @josvelema2362 ปีที่แล้ว +3

    I'm at Hostinger , shared hosting premium with adittional 3 domains. Works intuitive and the H-panel(control panel)has everything you can possibly need. Support via chat can be slow sometimes but they always respond in reasonable time. If you're a dev you should not have many issues doing things there but even for beginner I guess it works great (wordpress intergration etc). The pricing in this time is really good , so be fast ;)

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Oh wow that's great Jos. I've also seen tons of resources available so that's a good thing too.

  • @alancarlosml
    @alancarlosml ปีที่แล้ว +2

    Man, you saved my life today! Thank you

  • @hanshangyan1512
    @hanshangyan1512 ปีที่แล้ว +1

    Thank you for the great tutorial Teacher Dary!
    from your beloved student.

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      You're very welcome my friend!

  • @ankit.thakur864
    @ankit.thakur864 ปีที่แล้ว +1

    Thanks Man! I have learnt a lot.

  • @tumwesigyeronnie2877
    @tumwesigyeronnie2877 10 หลายเดือนก่อน +1

    your Video has been of great help, Hostinger is king

    • @codewithdary
      @codewithdary  9 หลายเดือนก่อน

      They damn are!! Thank you so much :)

  • @jessieaguiao
    @jessieaguiao ปีที่แล้ว +1

    Thank you very much Code With Dary!

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Thank you for watching Jessie!

    • @jessieaguiao
      @jessieaguiao ปีที่แล้ว

      @@codewithdary New subscriber here. 😊

  • @kirilllubynets8592
    @kirilllubynets8592 4 หลายเดือนก่อน

    thx it helps to me!

  • @joshdevofficial
    @joshdevofficial 10 หลายเดือนก่อน +1

    this would be a huge help! Thank Youuuu so much

    • @codewithdary
      @codewithdary  10 หลายเดือนก่อน +1

      Awesome! Happy ro hear :)

    • @joshdevofficial
      @joshdevofficial 10 หลายเดือนก่อน

      ​@@codewithdaryHow about react laravel app. Thanks

  • @asdf22991ify
    @asdf22991ify หลายเดือนก่อน

    Obrigado amigo! ajudou demais!!! Sucesso sempre

  • @TheRizalp
    @TheRizalp ปีที่แล้ว +1

    Hostinger is also available in Indonesia too! I'm surprised since most International shared hosting provider only care to place it in Singapore to cater SEA Market.

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Oh wow I did not know that! Love to hear it :)

  • @mibrahim4245
    @mibrahim4245 ปีที่แล้ว

    Thank you so much Dary..
    Can you talk about cron jobs? like for example if we're queuing the email verification notification, and we want to keep the queue:work on all the time to send emails ...

  • @leinyuyetiane
    @leinyuyetiane ปีที่แล้ว +3

    Hello Dary,
    Great video. Learned a lot from the video. The .httaccess file you just showed here is a lifesaver for hosting laravel applications on any shared hosting

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Thank you for letting me know and I'm very happy it helped you :)

  • @mafervamp
    @mafervamp ปีที่แล้ว +1

    Amazing video!

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      You are so kind, thank you!

  • @ameen10100
    @ameen10100 ปีที่แล้ว +1

    Thank you dude... you helped me so much. question: deploying new changes will be using ssh too ?

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Thank you for watching. And the answer to your question is yes! :)

  • @eugenioalvez4014
    @eugenioalvez4014 ปีที่แล้ว +1

    Great video !!!

  • @rahalibadreddine7530
    @rahalibadreddine7530 ปีที่แล้ว

    thanks man , can you please tell us how ro run npm run build

  • @chrismukasa198
    @chrismukasa198 ปีที่แล้ว +1

    Thank you 🙏

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Thank you for watching Chris

  • @jmalbite5248
    @jmalbite5248 ปีที่แล้ว +1

    Hi Dary, love your videos, can you do a separate video for deploying laravel rest API in a hostinger subdomain.
    Thank you 🤞😁

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Interesting topic for in the future!

  • @topmusicrelaxation2227
    @topmusicrelaxation2227 3 หลายเดือนก่อน

    Great tutorial.
    Can you explain me how can I automatically upload files to Hostinger with CI/CD after push on main branch ?

  • @kentlowelldeverasultan6055
    @kentlowelldeverasultan6055 8 หลายเดือนก่อน +1

    A very nice video by the way

  • @franciscojunior2141
    @franciscojunior2141 10 หลายเดือนก่อน +1

    Thanks very much Sir 🗿

    • @codewithdary
      @codewithdary  10 หลายเดือนก่อน

      Most welcome buddy! :)

  • @waqarahmad7125
    @waqarahmad7125 ปีที่แล้ว +1

    can you make another video on how we can create a subdomain and upload another laravel project there please it would be really helpfull

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Definitely something I would do in the future!

  • @AnonymousW730
    @AnonymousW730 ปีที่แล้ว +1

    Life Saver

  • @sergiocastillogutierrez4756
    @sergiocastillogutierrez4756 ปีที่แล้ว +1

    Hello!! Great video. One question. Do I have to follow the same steps to deploy the App if my GitHub Repository is Private?

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      You do need to add the ssh when working with private repositories. Not needed if the repository is public.

  • @koppeelate7437
    @koppeelate7437 หลายเดือนก่อน

    how about the npm run build?

  • @afdevs3054
    @afdevs3054 10 วันที่ผ่านมา

    When I bring some Changes in github reposeitory that will be effect on live site and that will show in live domain the recent changes?
    or Not please give me little bit information.

  • @R004032
    @R004032 ปีที่แล้ว

    How to setup job, thks

  • @mwaas
    @mwaas 10 หลายเดือนก่อน +1

    best of the best

  • @ryanjayreyes952
    @ryanjayreyes952 7 หลายเดือนก่อน +1

    How to open git using server?

  • @jamesdowie4628
    @jamesdowie4628 ปีที่แล้ว +1

    Can hostinger host a Nova project? Just viewed your great course on Nova.

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Definitely. Nova is eventually build in Laravel code.

  • @gregherrick4013
    @gregherrick4013 ปีที่แล้ว +1

    Hi Dary, Thanks for the great video(s)! As I followed this tutorial everything went well, except when I went to the site, it was unable to find the vite manifest file (Laravel 10). Any advice? Thanks again!

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      That happens on localhost too, because you need to run npm install & npm run dev :)

    • @gregherrick4013
      @gregherrick4013 ปีที่แล้ว

      I tried but it appears that npm is not installed Hostinger

    • @krakerbrain
      @krakerbrain ปีที่แล้ว +2

      @@gregherrick4013 Hi, you need to run the command 'npm run build' on your local machine. This will create a folder called 'build' inside the 'public' folder of your project. Once that's done, you can simply copy and paste that 'build' folder to your production environment.

    • @gregherrick4013
      @gregherrick4013 ปีที่แล้ว

      @@krakerbrain Thanks so much. I actually did just that and it resolved the manifest issue but I could not get the css to load properly...

  • @abdigunawan1791
    @abdigunawan1791 ปีที่แล้ว

    Hi Dary,
    How to deploy laravel inertia with react on hosting?
    Is it possible to deploy laravel inertia with react on a hosting provider like hostinger?

  • @veenitchauhan6131
    @veenitchauhan6131 ปีที่แล้ว +1

    I love you for the .htaccess file

  • @abdulmlaikalomayri727
    @abdulmlaikalomayri727 ปีที่แล้ว

    why do we upload our compress project in the first place

  • @farhanibrahim5925
    @farhanibrahim5925 ปีที่แล้ว +1

    I have multiple website to host how do i deploy it .? And both of them use different php versions

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      Well that requires a full video haha..

  • @MidAdCo
    @MidAdCo ปีที่แล้ว

    can hostingers run npm run build? in CLI

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Node.js is not supported on Shared and Cloud hosting packages. You can use their VPS services for that ;)

  • @arslanjaved5625
    @arslanjaved5625 ปีที่แล้ว +1

    Why hostinger is not catch {{ asset('' ") }} with public link. I have to put it in this way {{ asset(''public/...") }}.

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      By default, the asset function in Laravel should generate URLs that point to the public directory, which should be the root directory of your web server. However, if your Hostinger file structure is different from the default Laravel structure, you may need to adjust the asset function to generate URLs that point to the correct directory.

  • @AppCode-bf7ff
    @AppCode-bf7ff ปีที่แล้ว

    Hello, in my hostinger hosting the composer update does not work, what to do?

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      I need to know what it returns I don’t magically know what’s not working, please share the error or response the next time.

  • @karimtarek940
    @karimtarek940 11 หลายเดือนก่อน

    Hello dary
    Thanks for the video
    I have multiple websites on hostinger
    Every time i push new changes on the repo i open the ssh then going to the project folder and pull the changes
    I tried to search about any way to run git pull on the server or something like this to pull the changes automatically but i didn't find any thing
    Can help me with this

  • @mohammadrezah1.552
    @mohammadrezah1.552 ปีที่แล้ว +1

    laravel 10 not working => requires composer-runtime-api ^2.2 -> no matching package found

    • @CheezNutz
      @CheezNutz 6 หลายเดือนก่อน

      same problem with me, when i try to composer self-update --2
      it returns Segmentation fault (core dumped)

    • @ziad114
      @ziad114 6 หลายเดือนก่อน

      @@CheezNutz did you find the solution ?? I'm facing the same problem

    • @kasperszczerba5471
      @kasperszczerba5471 2 หลายเดือนก่อน

      @@ziad114 use: composer2 instead of composer :)

  • @vaidicyoddha
    @vaidicyoddha ปีที่แล้ว +1

    tell about laravel 9

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      What do I need to tell? :)

    • @vaidicyoddha
      @vaidicyoddha ปีที่แล้ว

      @@codewithdary your deployment method not working with laravel 9 on hostinger. can you show for laravel 9 ?

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      @@vaidicyoddha definitely working with Laravel 9 :)

    • @codewithdary
      @codewithdary  ปีที่แล้ว

      @@vaidicyoddha could you tell me what step is missing for Laravel 9 then? Since all these steps are exactly the same for Laravel 8.

    • @vaidicyoddha
      @vaidicyoddha ปีที่แล้ว

      @@codewithdary i don’t know why, but your method working with laravel 8 but not with laravel 9. any ways I’m trying this again let see.
      i think that issue is with .htaccess file.

  • @goranirasanikurdi2022
    @goranirasanikurdi2022 ปีที่แล้ว

    Thanks, I applied what said and I got error 404😏

    • @codewithdary
      @codewithdary  ปีที่แล้ว +1

      Something is wrong in your .htaccess file or your routes are not working correctly :)

    • @goranirasanikurdi2022
      @goranirasanikurdi2022 ปีที่แล้ว

      @@codewithdary indeed and I fixed it, thank you for your reply🥰