Deploy Laravel Applications to Hostinger Cloud Hosting

  Рет қаралды 22,144

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 102
@kasperszczerba5471
@kasperszczerba5471 8 ай бұрын
For Laravel 10 and up, use the composer2 command instead of composer to prevent errors :)
@kom3209
@kom3209 3 ай бұрын
life saver. thank you!
@josvelema2362
@josvelema2362 2 жыл бұрын
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 2 жыл бұрын
Oh wow that's great Jos. I've also seen tons of resources available so that's a good thing too.
@lucasdesouza1768
@lucasdesouza1768 2 жыл бұрын
Amazing, man! I have been looking for this for soo long. You saved me 👊🏾❤
@codewithdary
@codewithdary 2 жыл бұрын
Glad I could help Lucas!
@alancarlosml
@alancarlosml Жыл бұрын
Man, you saved my life today! Thank you
@codewithdary
@codewithdary Жыл бұрын
You are welcome! :)
@ojovemdev
@ojovemdev Жыл бұрын
Great video! Can't wait to host my first application with hostinger, your video is def a life saver.
@codewithdary
@codewithdary Жыл бұрын
Great to hear!
@tumwesigyeronnie2877
@tumwesigyeronnie2877 Жыл бұрын
your Video has been of great help, Hostinger is king
@codewithdary
@codewithdary Жыл бұрын
They damn are!! Thank you so much :)
@yordanmilchev
@yordanmilchev Ай бұрын
this is the best htaccess I have ever seen
@hanshangyan1512
@hanshangyan1512 2 жыл бұрын
Thank you for the great tutorial Teacher Dary! from your beloved student.
@codewithdary
@codewithdary 2 жыл бұрын
You're very welcome my friend!
@kheengs10
@kheengs10 3 ай бұрын
you only missed out one thing. to use latest composer you have to add number 2 on hostinger. eg compose2 install. or composer2 upgrade
@alexara1396
@alexara1396 2 ай бұрын
Hi ! How can you run php artisan websocket? And npm run build and queue:work? Can you do tutorial for that? Thank you in advance
@TheRizalp
@TheRizalp 2 жыл бұрын
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 2 жыл бұрын
Oh wow I did not know that! Love to hear it :)
@topmusicrelaxation2227
@topmusicrelaxation2227 8 ай бұрын
Great tutorial. Can you explain me how can I automatically upload files to Hostinger with CI/CD after push on main branch ?
@waqarahmad7125
@waqarahmad7125 Жыл бұрын
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!
@joshdevofficial
@joshdevofficial Жыл бұрын
this would be a huge help! Thank Youuuu so much
@codewithdary
@codewithdary Жыл бұрын
Awesome! Happy ro hear :)
@joshdevofficial
@joshdevofficial Жыл бұрын
​@@codewithdaryHow about react laravel app. Thanks
@afdevs3054
@afdevs3054 5 ай бұрын
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.
@ankit.thakur864
@ankit.thakur864 2 жыл бұрын
Thanks Man! I have learnt a lot.
@codewithdary
@codewithdary 2 жыл бұрын
Glad to hear it!
@jessieaguiao
@jessieaguiao 2 жыл бұрын
Thank you very much Code With Dary!
@codewithdary
@codewithdary 2 жыл бұрын
Thank you for watching Jessie!
@jessieaguiao
@jessieaguiao 2 жыл бұрын
@@codewithdary New subscriber here. 😊
@ameen10100
@ameen10100 2 жыл бұрын
Thank you dude... you helped me so much. question: deploying new changes will be using ssh too ?
@codewithdary
@codewithdary 2 жыл бұрын
Thank you for watching. And the answer to your question is yes! :)
@ahmedofali
@ahmedofali 4 ай бұрын
You are making a video explaining laravel and continuous integration and doing git clone on the server directly!! Please recheck your knowledge and understand ci and CD
@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 ...
@sergiocastillogutierrez4756
@sergiocastillogutierrez4756 Жыл бұрын
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 Жыл бұрын
You do need to add the ssh when working with private repositories. Not needed if the repository is public.
@rahalibadreddine7530
@rahalibadreddine7530 Жыл бұрын
thanks man , can you please tell us how ro run npm run build
@arslanjaved5625
@arslanjaved5625 Жыл бұрын
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.
@koppeelate7437
@koppeelate7437 7 ай бұрын
how about the npm run build?
@ryanjayreyes952
@ryanjayreyes952 Жыл бұрын
How to open git using server?
@farhanibrahim5925
@farhanibrahim5925 Жыл бұрын
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..
@jamesdowie4628
@jamesdowie4628 Жыл бұрын
Can hostinger host a Nova project? Just viewed your great course on Nova.
@codewithdary
@codewithdary Жыл бұрын
Definitely. Nova is eventually build in Laravel code.
@kentlowelldeverasultan6055
@kentlowelldeverasultan6055 Жыл бұрын
A very nice video by the way
@codewithdary
@codewithdary Жыл бұрын
Thank you
@mafervamp
@mafervamp Жыл бұрын
Amazing video!
@codewithdary
@codewithdary Жыл бұрын
You are so kind, thank you!
@gregherrick4013
@gregherrick4013 Жыл бұрын
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 Жыл бұрын
@@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...
@leinyuyetiane
@leinyuyetiane 2 жыл бұрын
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 2 жыл бұрын
Thank you for letting me know and I'm very happy it helped you :)
@eugenioalvez4014
@eugenioalvez4014 Жыл бұрын
Great video !!!
@codewithdary
@codewithdary Жыл бұрын
Thanks!🙏🏽
@mohammadrezah1.552
@mohammadrezah1.552 Жыл бұрын
laravel 10 not working => requires composer-runtime-api ^2.2 -> no matching package found
@CheezNutz
@CheezNutz 11 ай бұрын
same problem with me, when i try to composer self-update --2 it returns Segmentation fault (core dumped)
@ziad114
@ziad114 11 ай бұрын
@@CheezNutz did you find the solution ?? I'm facing the same problem
@kasperszczerba5471
@kasperszczerba5471 8 ай бұрын
@@ziad114 use: composer2 instead of composer :)
@ngonidzashesendama2471
@ngonidzashesendama2471 4 ай бұрын
@@ziad114 Use composer2 command.
@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?
@Web-developer22
@Web-developer22 Жыл бұрын
Have you deployed it yet?
@franciscojunior2141
@franciscojunior2141 Жыл бұрын
Thanks very much Sir 🗿
@codewithdary
@codewithdary Жыл бұрын
Most welcome buddy! :)
@karimtarek940
@karimtarek940 Жыл бұрын
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
@davidkawogo3681
@davidkawogo3681 10 ай бұрын
try Laravel Forge
@jmalbite5248
@jmalbite5248 2 жыл бұрын
Hi Dary, love your videos, can you do a separate video for deploying laravel rest API in a hostinger subdomain. Thank you 🤞😁
@codewithdary
@codewithdary 2 жыл бұрын
Interesting topic for in the future!
@asdf22991ify
@asdf22991ify 7 ай бұрын
Obrigado amigo! ajudou demais!!! Sucesso sempre
@abdulmlaikalomayri727
@abdulmlaikalomayri727 Жыл бұрын
why do we upload our compress project in the first place
@R004032
@R004032 2 жыл бұрын
How to setup job, thks
@AppCode-bf7ff
@AppCode-bf7ff 2 жыл бұрын
Hello, in my hostinger hosting the composer update does not work, what to do?
@codewithdary
@codewithdary 2 жыл бұрын
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.
@franxxcode
@franxxcode 2 жыл бұрын
can hostingers run npm run build? in CLI
@codewithdary
@codewithdary 2 жыл бұрын
Node.js is not supported on Shared and Cloud hosting packages. You can use their VPS services for that ;)
@chrismukasa198
@chrismukasa198 Жыл бұрын
Thank you 🙏
@codewithdary
@codewithdary Жыл бұрын
Thank you for watching Chris
@kirilllubynets8592
@kirilllubynets8592 9 ай бұрын
thx it helps to me!
@mwaas
@mwaas Жыл бұрын
best of the best
@codewithdary
@codewithdary Жыл бұрын
You are :)
@vaidicyoddha
@vaidicyoddha 2 жыл бұрын
tell about laravel 9
@codewithdary
@codewithdary 2 жыл бұрын
What do I need to tell? :)
@vaidicyoddha
@vaidicyoddha 2 жыл бұрын
@@codewithdary your deployment method not working with laravel 9 on hostinger. can you show for laravel 9 ?
@codewithdary
@codewithdary 2 жыл бұрын
@@vaidicyoddha definitely working with Laravel 9 :)
@codewithdary
@codewithdary 2 жыл бұрын
@@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 2 жыл бұрын
@@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.
@veenitchauhan6131
@veenitchauhan6131 Жыл бұрын
I love you for the .htaccess file
@codewithdary
@codewithdary Жыл бұрын
Thank you
@AnonymousW730
@AnonymousW730 Жыл бұрын
Life Saver
@codewithdary
@codewithdary Жыл бұрын
Thank you
@goranirasanikurdi2022
@goranirasanikurdi2022 2 жыл бұрын
Thanks, I applied what said and I got error 404😏
@codewithdary
@codewithdary 2 жыл бұрын
Something is wrong in your .htaccess file or your routes are not working correctly :)
@goranirasanikurdi2022
@goranirasanikurdi2022 2 жыл бұрын
@@codewithdary indeed and I fixed it, thank you for your reply🥰
How to Deploy Your App to Streamlit Community Cloud
11:32
Streamlit
Рет қаралды 66 М.
How YOU Deploy Laravel Projects? Survey Results.
13:38
Laravel Daily
Рет қаралды 30 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
How to Deploy Laravel on Shared Hosting in 12 minutes
12:55
The Codeholic
Рет қаралды 80 М.
Self-Hosting Next.js
45:13
leerob
Рет қаралды 81 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 268 М.
Become a PRO at Using Components in Laravel
32:51
Code With Dary
Рет қаралды 40 М.
How to Upload Laravel 10 Project in Hostinger
10:58
Md Solaiman Hossain
Рет қаралды 10 М.
Deploy Laravel To Shared Hosting The Easy Way
13:41
Traversy Media
Рет қаралды 444 М.