Great video! I've been struggling with deploying my Laravel project on shared hosting, but your tutorial made it seem so simple. The step-by-step instructions were easy to follow and the video quality was excellent. Thank you for taking the time to make this tutorial and helping us out. Keep up the good work! Would you please share us how to install Node and NPM
You're welcome and good luck with your project deployment. That hosting will be enough for you for next 4 years. You can create 100 subdomains and 100 websites.
wait...can you make also tutorials how to add cron jobs in hostinger using laravel? because you're really good at explaining ☺️ hope this will get more demands
Is it possible to hots jetstream inertia project on shared hosting ?? I have seen many people saying its a bad practice to host jetstream inertia projects on shared hosting
I have some questions... - How to correctly run a subdomain to make a test version of the project? I created a sub domain (hostinger create it in the public html), run the composer, key, db, migrations, env and all, but i get a 403 error. - On a share hosting is impossible to install node.js and run npm install? - On a share hosting does the auto-deploy from github works correctly? i have some issue about that
hmmm i swear i replayed to this :(, on hostinger while creating a new subdomain, 1.check Custom folder for subdomain 2. in the custom domain field enter foo/public. (instead of foo, insert your subdomain name).
can u plz confirm when we build asset using vite the styles are not loaded. the build folder is also present in public/html in localhost its working fine but on remote css showing not found
I generally FTP the whole thing. You just gave me a nice idea to symlink the public_html folder. Thanks :) Very helpful. Someday I will get to running npm commands right in hostinger.
Incredible video👏 Been struggling with the hosting until I watched your tutorial, and now I'm running my web app successfully. This really helps a lot, Thanks!
No idea if this is new, but Hostinger comes preinstalled with both composer 1 and composer 2, but to use the latter you need to use the composer2 command.
Great video , but i still have a problem , after following all your steps , i still get 404 not found instead of my site content, what to do in this case ?
I love this video. It was very helpful to me. But I tried creating a laravel project using Jetstream as the Auth package but I was unable to compile the js assets. Just wanted to know if there is a fix or should I do everything locally and just upload when it's done
npm command is not available on shared hoasting, so you should build js files locally and upload them on server. You can commit these files on git as well
note: it only works with the main domain database and you have to update your main domain php version. I was trying to deploy it on a secondary domain on my shared web hosting but getting a php version error. Then I updated the main domain php version and it works. The same goes for database
Hey thanks ! I used your video as a guide to create a github action to deploy my Laravel App on hostinger - i skipped the composer install part so i put the installation of laravel dependencies on github actions instead. Hostinger will only get all stuffs including vendor files
Is it possible to deploy a monorepo Laravel + React in the Shared Hosting? I don`t know much about Lavarel but I already have a React frontend app. And Laravel seems to be a good option to build a monorepo with React.
That's actually a really good idea. Having two subdomains: dev.laravel-example.com - for development staging.laravel-example.com - for staging Is that what you mean?
Hundreds of records will not be a problem I think. Even thousands will not be a problem. The problem will be if thousands of users access the website at the same time.
Thanks for the video - really grateful for the insights... especially the symbolic link! The minimum plan now is $2.99 with a 48 month contract only :/
I am the first who clicked the laravel-example domain? It redirects to TH-cam `Rick Astley - Never Gonna Give You Up (Official Music Video)` Oh my god. Thank for your video.
As far as you have access to SSH, every step will be exactly as it is on local environment. To pull the latest changes - "git pull" To run composer commands - "php ~/composer.phar [COMMAND_NAME]" To run artisan commands "php artisan [COMMAND_NAME]" What do you exactly mean in "Adding aliases" or "Override default composer"?
@@TheCodeholic I haven't checked (tested) for a long time, but I think caused a problem with composer.json-lock. Maybe I should give him to .gitignore. I had to delete the vendor catalog and again . Maybe it also depends on the hosting. As for composer, the composer ", not php ~/composer.phar normally writes locally. For me in /home/nick/.bashrc I have a line . And as we talk about the alias, it is the abbreviation . Translated by Uncle G ;)
git pull will cause problems if you have composer-lock.json modified locally and that you run git pull which tries to pull also modified composer-lock.json file. On the hosting you won't have this problem because you are not going to modify composer-lock.json file on server. As for the aliases: If you are going to create that in your .bashrc file that should work. But that really depends on OS and some configurations as well.
Thanks sir, I spent a week to figure this out. You saved me. Salute to you sir.
The idea of creating a symbolic link of public_html is live saving thanks 💙
Great video! I've been struggling with deploying my Laravel project on shared hosting, but your tutorial made it seem so simple. The step-by-step instructions were easy to follow and the video quality was excellent. Thank you for taking the time to make this tutorial and helping us out. Keep up the good work!
Would you please share us how to install Node and NPM
Co asking
Very simple, very useful. Good job 👏
Thank you, just got the 48 months Business Web Hosting plan using your code.
You're welcome and good luck with your project deployment.
That hosting will be enough for you for next 4 years. You can create 100 subdomains and 100 websites.
Thank you sir! You save me a load of time messing around creating symlinks and failing to get it set up right
wait...can you make also tutorials how to add cron jobs in hostinger using laravel? because you're really good at explaining ☺️ hope this will get more demands
Is it possible to hots jetstream inertia project on shared hosting ?? I have seen many people saying its a bad practice to host jetstream inertia projects on shared hosting
I have some questions...
- How to correctly run a subdomain to make a test version of the project? I created a sub domain (hostinger create it in the public html), run the composer, key, db, migrations, env and all, but i get a 403 error.
- On a share hosting is impossible to install node.js and run npm install?
- On a share hosting does the auto-deploy from github works correctly? i have some issue about that
i got same exact issue any sloution ?
hmmm i swear i replayed to this :(,
on hostinger while creating a new subdomain,
1.check Custom folder for subdomain
2. in the custom domain field enter foo/public. (instead of foo, insert your subdomain name).
Thanks alot, one more question, how do i keep the laravel queue worker running when i close the SSH connection?
You need to run your queue command in background. Try to find how to run scripts in linux in background
You made whole process complex
Please let me know easier way. I really want to learn as well
Hello, I have a few questions what kind of projects do you recommend for sharing hosting? and you can use just one VPS service for multiples projects?
can u plz confirm when we build asset using vite the styles are not loaded. the build folder is also present in public/html
in localhost its working fine but on remote css showing not found
I generally FTP the whole thing. You just gave me a nice idea to symlink the public_html folder. Thanks :) Very helpful.
Someday I will get to running npm commands right in hostinger.
is ftping all things including vendor enough for deployment?
thanks it worked...but images are not showing from local storage i dont know why
Hi, I did everything and my simple website is up and running. But how do I run npm install and npm run dev?
Also wondering on this. Did you find anything out?
@@gangnamman133 as I understood you can't do this on shared hosting, i just compile the css/js on my local and pull it on the server from my git repo
Incredible video👏 Been struggling with the hosting until I watched your tutorial, and now I'm running my web app successfully. This really helps a lot, Thanks!
You saved my life! THANK YOU!
Should i change APP_URL to the used domain URL?
Can I use rachet on shared hosting?
thanks you - what if i want to deploy on subdomain ?
Thank you Zura, You are the best!
Thanks a lot, I haven't found any solution for the composer version issue like yours, Great job
No idea if this is new, but Hostinger comes preinstalled with both composer 1 and composer 2, but to use the latter you need to use the composer2 command.
Thanks for the comment, I discovered this few months ago
How can we update our website whenever theres a new code? Thanks!
You need to login via ssh, navigate into projects root folder and run git pull
Great video , but i still have a problem , after following all your steps , i still get 404 not found instead of my site content, what to do in this case ?
Why not which composer? Hostinger has a symlink to composer2 :)
Thank you, Great video
I need help please.
How to run "Node" on Hostinger premium shared hosting?
I also would like to know. Did you find some way??
I bought this plan use your coupon! Thanks!!
I think you got great deal.
I love this video. It was very helpful to me. But I tried creating a laravel project using Jetstream as the Auth package but I was unable to compile the js assets. Just wanted to know if there is a fix or should I do everything locally and just upload when it's done
npm command is not available on shared hoasting, so you should build js files locally and upload them on server. You can commit these files on git as well
Thank you so much this is very helpful !
note: it only works with the main domain database and you have to update your main domain php version. I was trying to deploy it on a secondary domain on my shared web hosting but getting a php version error. Then I updated the main domain php version and it works. The same goes for database
Hey thanks ! I used your video as a guide to create a github action to deploy my Laravel App on hostinger
- i skipped the composer install part so i put the installation of laravel dependencies on github actions instead. Hostinger will only get all stuffs including vendor files
Thank you for this video.
thanks for this but the problem is the routes are not working as it says 403
how do you run "npm run prod
" for frontend css compilation?
great video , thanks man 🙏
nice, basically for this to work the shared hosting company must have/provide ssh access
In my opinion if shared hosting provider does not support SSH you shoul not take its hosting
have you any idea for use mongodb with laravel 11? if yes then guide me
შენი ვიდეოებიმაქვს ნანახი მემგონი აპოლო 11 ის არხიდან, მიხარია რომ ახალი გვერდი მოხოდე
Is it possible to deploy a monorepo Laravel + React in the Shared Hosting? I don`t know much about Lavarel but I already have a React frontend app. And Laravel seems to be a good option to build a monorepo with React.
my project was pending for a week. but now ❤
you have composer 2 installed already. So you can just use composer2 as the command in place of composer e.g. composer2 install
Really? Does command "composer2 install" work?
your videos are so usefull
excellent content, what about if you have vite in your laravel app? how can I configure that, please?
Check deployment video from my playlist of building social media website
Artisan command not executing on server - any ideas? rwxr-xr-x artisan
really helpful
can you make a tutorial on how to install multiple laravel website on subdomain with hostiger
Thank you so much , just in time
Nice...
Helped me
God Bless you!
Thanks a lot! Just used your promo code ;)
Amazing!
I will see it in a future
Amazing sir... would u make another tutorial for the laravel staging site in that hostinger? Sry I'm not familiar with servers. Thanks 😍
That's actually a really good idea.
Having two subdomains:
dev.laravel-example.com - for development
staging.laravel-example.com - for staging
Is that what you mean?
@@TheCodeholic yeh sir exactly 🥰
@@TheCodeholicdid you ever get around to doing this?
Please make video about setup vps Ubuntu server with php, MySQL, Laravel and domain on vps server
Thank you. That is in my plans.
@@TheCodeholic please give me some good tutorial to set up vps server Ubuntu php MySQL Laravel and domain
@@giorgigeorge1003 just use cloudpanel that's all you need.
Kindly do a video hosting in a vps too
I think I will make it.
@@TheCodeholic thanks you again and again.Have just bought ur vue and Laravel e-commerce course.Thanks again for the offer
Storage linking is not working in Premium Hosting plan.
Can you share error image?
Can you show load tests with 100s of products or blogs within the same hosting.
Hundreds of records will not be a problem I think.
Even thousands will not be a problem. The problem will be if thousands of users access the website at the same time.
What about deploy on aws
Can you make or do you have a video on how to intergrate a payment system like Stripe into a Laravel appliication?
I have video on the exact same topic
@@TheCodeholic Alright thanks a lot 🙏🏾
🚀Get Shared Hosting for only $1.99 for a Limited time: hostinger.com/thecodeholic, and use coupon code "THECODEHOLIC" for EXTRA 10% 🚀
Thanks for the video - really grateful for the insights... especially the symbolic link! The minimum plan now is $2.99 with a 48 month contract only :/
@caliplanet 12 month plan also has 2.99
hi how can i paste it? hehe
Im having a error doing storage:link. Anyone knows how to fix it?
Can u share the error stack?
can you show us how to deploy on cpanel
and now how i edit the front page
Like you normally would do in your project.
Edit, commit and push, then pull on server.
I am the first who clicked the laravel-example domain? It redirects to TH-cam `Rick Astley - Never Gonna Give You Up (Official Music Video)` Oh my god. Thank for your video.
What about npm run build?
hi, could you do it?, I have same issue
I thought it was going to be easy
403
Forbidden
Access to this resource on the server is denied!
laravel next js and mysql deploy please
And now... how update site on shared hosting, adding aliases, override default composer... ;)
As far as you have access to SSH, every step will be exactly as it is on local environment.
To pull the latest changes - "git pull"
To run composer commands - "php ~/composer.phar [COMMAND_NAME]"
To run artisan commands "php artisan [COMMAND_NAME]"
What do you exactly mean in "Adding aliases" or "Override default composer"?
@@TheCodeholic I haven't checked (tested) for a long time, but I think caused a problem with composer.json-lock. Maybe I should give him to .gitignore. I had to delete the vendor catalog and again . Maybe it also depends on the hosting. As for composer, the composer ", not php ~/composer.phar normally writes locally. For me in /home/nick/.bashrc I have a line . And as we talk about the alias, it is the abbreviation . Translated by Uncle G ;)
git pull will cause problems if you have composer-lock.json modified locally and that you run git pull which tries to pull also modified composer-lock.json file. On the hosting you won't have this problem because you are not going to modify composer-lock.json file on server. As for the aliases: If you are going to create that in your .bashrc file that should work. But that really depends on OS and some configurations as well.
You make it very complicated for those panel..
Did anyone else got rickroll'd? >.>
Do you have any issues? Maybe I can help?
2024-Oct-02
Thanks great content really useful.
ისე ვეღარ გავიგე ზურა გქვია თუ გიო.. ვიდეო ძაან კაია
ზურა მქვია. გიო რატო გეგონა?
@@TheCodeholic მეორე არხიც ხო გაქ program with gio..
ეგ არაა ჩემი არხი