Deploy/Host Laravel Application Live Server in easy way - Hostinger

  Рет қаралды 49,203

Takneeki Code

Takneeki Code

Күн бұрын

#laravel #hosting #hostinger #live #deployment2K24
In this video we will deploy/host our laravel application on live server. In this video I used Hostinger hosting but if you have any other hosting the the process will be same just the difference will be the user interface.
I hope that this video will help you to deploy your application.
Thanks for watching!

Пікірлер: 45
@thesis-rz8mg
@thesis-rz8mg Жыл бұрын
hello. what is the code under .htaccess file? can i get it
@takneekicode
@takneekicode Жыл бұрын
Yes, it is available on the internet also. stackoverflow.com/questions/24620505/laravel-htaccess
@nyakehpalmer3875
@nyakehpalmer3875 9 ай бұрын
Can you pls help with code that is in the .htacess file which redirect the to the Public folder that has the index page? That seems to be catch, u dint explain that part. Thanks
@ParvezAlam-zj5pf
@ParvezAlam-zj5pf 4 ай бұрын
Thanks dude! Just what i needed in a concuse way
@takneekicode
@takneekicode 4 ай бұрын
Glad I could help!
@muzammilabbas2610
@muzammilabbas2610 Жыл бұрын
Very informative sir.. Please also make a video on ajax with laravel
@TallStack-su8sq
@TallStack-su8sq 4 күн бұрын
The .env file should be accessible in this manner. Move the application files outside of the public_html directory, leaving only the public folder within public_html.
@jeanwona2689
@jeanwona2689 Жыл бұрын
I already have an .htaccess file in the public folder of my Laravel 9.5 project, should I add another .htaccess file on the main root? In case I don't I get a 403 error on my site meaning an error accessing my resources
@takneekicode
@takneekicode Жыл бұрын
You should also have a .htaccess file in the root directory
@jeanwona2689
@jeanwona2689 Жыл бұрын
@@takneekicode okay, but in that case I got a 403 access file error. Sorry, can you help me?
@halith2004
@halith2004 Жыл бұрын
​​@@jeanwona2689hey did u solved the error?
@keikahakari3398
@keikahakari3398 2 ай бұрын
can dbeaver be use?
@justinjustinjustin7862
@justinjustinjustin7862 Жыл бұрын
Hello what laravel version is your application? mine wont work using your method and I am still trying other method still it wont work. when I am searing my domain it just sending Happy to see your domain with Hostinger! page
@takneekicode
@takneekicode Жыл бұрын
Delete the default file and upload the htaccess it should work
@oussamarachid3747
@oussamarachid3747 7 ай бұрын
thanks a lot chef🙏
@takneekicode
@takneekicode 7 ай бұрын
Most welcome 😊 👍🏻
@vhonbautista7157
@vhonbautista7157 7 ай бұрын
Tried to deploy my laravel project on hostinger it works however it does not load the resources it just says :Failed to load resource: net::ERR_CONNECTION_REFUSED: in console. my larevel project uses tailwind and other installed libraries and non of them are working, tailwind not applying, apexcharts and other installed libraries all I see is a mess html front, no styling applied but works on local
@classicaf
@classicaf 7 ай бұрын
Were you developing your project in some folder of xampp?
@JohnSmith-co1zv
@JohnSmith-co1zv Жыл бұрын
Isn't it dangerous to host the application inside public html?
@TallStack-su8sq
@TallStack-su8sq 4 күн бұрын
yes, .env should be accessible.. You need move app files outside of public_html and leave only public folder in public_html
@dr.ankitpatel6446
@dr.ankitpatel6446 Жыл бұрын
I successfully deployed the laravel 8 application with database but on clicking the menu the routes are not working.. Please help sir
@takneekicode
@takneekicode Жыл бұрын
What issue u are facing?
@dr.ankitpatel6446
@dr.ankitpatel6446 Жыл бұрын
@@takneekicode on clicking on menu links the server response the page not found or bad link
@cameleonarabic8124
@cameleonarabic8124 Жыл бұрын
does hostinger support 9.5?
@takneekicode
@takneekicode Жыл бұрын
Yes
@Faisalkhan-ms3je
@Faisalkhan-ms3je 4 ай бұрын
Hello sir thank you so much for providing such a great video. But I am facing an issue. I have created many routes in my web.php. But routes are not working and giving me 404 error. for example mydomain/route this is not working for me. please help me with this.
@takneekicode
@takneekicode 4 ай бұрын
I can only tell by checking the code.
@jeffagaming732
@jeffagaming732 29 күн бұрын
thank you bro, you handsome
@vinayaksen8126
@vinayaksen8126 3 ай бұрын
I am getting index of / . what should i do
@takneekicode
@takneekicode 3 ай бұрын
Please follow all step and make sure your htacces file is correct
@astartesidon609
@astartesidon609 Ай бұрын
.env without caching sometimes create unexpected behavior.. better to run optimize first ,, or just be ready everything before upload
@anzarcademy
@anzarcademy Жыл бұрын
what about npm?
@takneekicode
@takneekicode Жыл бұрын
If you have npm packages in your project then no worries, but if you want to install the new package with npm you can do that with a terminal or install it locally first and deploy it again.
@annbonador
@annbonador Жыл бұрын
I found this technique difficult, you may encounter problems in cache, and public/public_html here. Hostinger have SSH which is easier in deploying Laravel.
@takneekicode
@takneekicode Жыл бұрын
You are right, exactly what I said in the video this method is for beginners and it takes time. I will also upload ssh method.
@JuniorTheDev
@JuniorTheDev Жыл бұрын
You are right but you have SSH at least with the premium hosting plan, i bought the first plan and i do not have this access so i am suffering actually to deploy my laravel 10 project
@rammmzel
@rammmzel Жыл бұрын
Why do u have htaccess at first
@takneekicode
@takneekicode Жыл бұрын
To secure my folders and website
@TusharZambare
@TusharZambare Жыл бұрын
not for laravel 9
@takneekicode
@takneekicode Жыл бұрын
First of all, you should not use laravel 9 because it needs the latest PHP and most of the packages and hosting do not support the latest PHP. But Yes it is also for laravel 9
@djnoubba1235
@djnoubba1235 6 ай бұрын
This is for free
@takneekicode
@takneekicode 5 ай бұрын
No, you need to buy Hostinger account.
@ngohien8761
@ngohien8761 Жыл бұрын
my laravel 8x got error 500 , another ht access not working : My Htacess still work normal on xamp and my sql : Options -MultiViews RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA]
@ngohien8761
@ngohien8761 9 ай бұрын
thank for support . I have done change version php 8.4 -> 7.4 so my website have work again with laravel 8
Deploy Laravel Applications to Hostinger Cloud Hosting
20:36
Code With Dary
Рет қаралды 19 М.
How to Deploy Laravel on Shared Hosting in 12 minutes
12:55
The Codeholic
Рет қаралды 62 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 78 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 13 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 56 МЛН
How to Upload Laravel Project on Hostinger Hpanel Step by Step Tutorial
10:16
Deploy Laravel applications fast and cheap
8:54
Andrew Schmelyun
Рет қаралды 23 М.
Laravel 8 Setting Up SMTP with Cpanel Hosting
10:08
Web Dev Trainee
Рет қаралды 21 М.
How To Deploy a NextJS App To Vercel (EASY AND QUICK!!!)
9:31
Infinity free hosting | Host your Laravel APP
9:01
iCodeZilla
Рет қаралды 85 М.
Laravel Docker Course | Complete Laravel Dockerization
43:31
Emad Zaamout
Рет қаралды 79 М.
How to Deploy Host Laravel project in Hostinger
11:48
Tutus Funny
Рет қаралды 14 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 78 МЛН