Deploy Laravel Applications to Hostinger Cloud Hosting

Поделиться
HTML-код
  • Опубликовано: 30 июл 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 👊🏾❤

  • @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.

  • @ojovemdev
    @ojovemdev Год назад +1

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

  • @alancarlosml
    @alancarlosml Год назад +2

    Man, you saved my life today! Thank you

  • @ankit.thakur864
    @ankit.thakur864 Год назад +1

    Thanks Man! I have learnt a lot.

  • @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 ...

  • @hanshangyan1512
    @hanshangyan1512 Год назад +1

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

  • @kirilllubynets8592
    @kirilllubynets8592 4 месяца назад

    thx it helps to me!

  • @jessieaguiao
    @jessieaguiao Год назад +1

    Thank you very much Code With Dary!

    • @codewithdary
      @codewithdary  Год назад +1

      Thank you for watching Jessie!

    • @jessieaguiao
      @jessieaguiao Год назад

      @@codewithdary New subscriber here. 😊

  • @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

  • @afdevs3054
    @afdevs3054 6 дней назад

    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.

  • @mafervamp
    @mafervamp Год назад +1

    Amazing video!

  • @tumwesigyeronnie2877
    @tumwesigyeronnie2877 9 месяцев назад +1

    your Video has been of great help, Hostinger is king

    • @codewithdary
      @codewithdary  9 месяцев назад

      They damn are!! Thank you so much :)

  • @eugenioalvez4014
    @eugenioalvez4014 Год назад +1

    Great video !!!

  • @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 ?

  • @rahalibadreddine7530
    @rahalibadreddine7530 Год назад

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

  • @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 :)

  • @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 :)

  • @chrismukasa198
    @chrismukasa198 Год назад +1

    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! :)

  • @koppeelate7437
    @koppeelate7437 Месяц назад

    how about the npm run build?

  • @franciscojunior2141
    @franciscojunior2141 10 месяцев назад +1

    Thanks very much Sir 🗿

  • @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.

  • @kentlowelldeverasultan6055
    @kentlowelldeverasultan6055 8 месяцев назад +1

    A very nice video by the way

  • @ryanjayreyes952
    @ryanjayreyes952 7 месяцев назад +1

    How to open git using server?

  • @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?

  • @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!

  • @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...

  • @R004032
    @R004032 Год назад

    How to setup job, thks

  • @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.

  • @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..

  • @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

  • @abdulmlaikalomayri727
    @abdulmlaikalomayri727 Год назад

    why do we upload our compress project in the first place

  • @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!

  • @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.

  • @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.

  • @AnonymousW730
    @AnonymousW730 Год назад +1

    Life Saver

  • @veenitchauhan6131
    @veenitchauhan6131 Год назад +1

    I love you for the .htaccess file

  • @mwaas
    @mwaas 10 месяцев назад +1

    best of the best

  • @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 ;)

  • @mohammadrezah1.552
    @mohammadrezah1.552 11 месяцев назад +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🥰