How to Deploy Laravel on Shared Hosting in 12 minutes

preview_player
Показать описание

You probably know how to build basic Laravel applications, but do you know how to deploy it on production environment with custom domain?
In this video you will see how to get shared hosting, how to connect to the hosting server using SSH, how to clone the project, create MySQL Database, run the necessary terminal commands and deploy Laravel example application on custom domain with SSL.

Timecodes
------------------
00:00 - Introduction
03:04 - Setup Domain and Hosting
04:19 - Install SSL Certificate
05:21 - Install Laravel using SSH
11:32 - Create and Configure MySQL Database
12:49 - Outro

If you really love my content and want to support the channel:
👉 My Patreon: (For monthly donation)
🍺 Buy me Beer: (For one time donation)

🖱️Follow me on social media:🖱️

Check my Github:
Рекомендации по теме
Комментарии
Автор

Thanks sir, I spent a week to figure this out. You saved me. Salute to you sir.

rolandjethrosuyom
Автор

The idea of creating a symbolic link of public_html is live saving thanks 💙

mohammedattar
Автор

Thank you, just got the 48 months Business Web Hosting plan using your code.

wsqplm
Автор

Thank you so much this is very helpful !

ilyesmilyesm
Автор

Thank you sir! You save me a load of time messing around creating symlinks and failing to get it set up right

NeilMyatt
Автор

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

nilakash
Автор

Thanks a lot, I haven't found any solution for the composer version issue like yours, Great job

muhammadissasabbagh
Автор

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!

twicetherabbit
Автор

Thanks a lot! Just used your promo code ;)

skykhanncanoeboy
Автор

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.

thahawahid
Автор

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

aldrinaureus
Автор

I bought this plan use your coupon! Thanks!!

LeonelLopezBorbon
Автор

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.

narebinhaa
Автор

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

tharushafernando
Автор

thanks you - what if i want to deploy on subdomain ?

ahmedmohamed
Автор

nice, basically for this to work the shared hosting company must have/provide ssh access

BobDoe_
Автор

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 ?

ahmedmissaoui
Автор

my project was pending for a week. but now ❤

Umair_log
Автор

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

khanaqib
Автор

how do you run "npm run prod
" for frontend css compilation?

ahmadfraz