I hope you found this video helpful! If you encounter any issues or errors, please leave a comment below. I'm here to assist and resolve any problems together. 😊 .htaccess_file link: .htaccess_file download link: drive.google.com/file/d/1oefwN7MP6hpT6oU-lJ2SlTuc5-rnM1S8/view?usp=drive_link
i have uploaded laravel files under subfolder of public_html (public_html/subfolder) so what changes should i make to live the project. Please help me make it work
Move your website files from subfolder to public_html and if your website does not have a database, so just make sure that your index.html file exists there, because hostinger or any other hosting platform targets index.html file always by default....
Wa Alaikum Assalam. Dear Sir, could you please suggest the best Laravel course for me? I have worked on some projects in simple PHP, so I have a basic understanding of Laravel. My main question is: for building an eCommerce project, should I learn Laravel with AJAX, Livewire, or just use simple Laravel?
For e-commerce project I suggest you to use Laravel with Livewire. Definitely there will be a little bit use of Ajax but Laravel with livewire will be enough for it. I'll make a proper playlist for it also inshallah...
Mery pass hostinger k hosting hai. Aur uss pa ikk wordpress website live hai. Ab may uss may sy data base create kia hai. Admin panel host krny k liye. Jab zip file ko public_html may upload kr na hota likn public _html kuch file hai already ab kia kro wo file delete kro ya ni? Website k liye koi issue tu ni ai gi?
Nahi ap ko pehle wali files delete Nahi krni because wo WordPress website Ki files han. Or agr admin panel host krna ha to ap ko hostinger platform se us K liye EK subdomain create krni chahiye agr new domain Nahi ha, then hostinger ap K liye EK separate file manager create KR de ga sirf us admin panel ko host Krne K liye, then ap us file manager K under ja KR ap files upload KR skte han. Hostinger will create a dedicated folder in public_html for just this admin panel, so don't disturb other files there ...
Yes, you can. But there are a few things you need to set up. First, Hostinger must allow wildcard subdomains, and you’ll need to add a wildcard DNS record like *.yourdomain.com pointing to your server's IP. Then, in your .htaccess file, make sure all requests (including subdomains) are redirected to Laravel's public/index.php.
@@codeblogcrafter sir, hostinger hpanel not allowing to add wildcard subdomain in domain manager, If i add wildcard DNS record pointing ip and make htaccess changes may i know whether it work..
Database file at path [C:\xampp\htdocs\Uniquepact\database\database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "sessions" where "id" = 2LvBXKf3EmaHeitMx4RWRP8Y1CqLR5AKSJQgkqMf limit 1) this error show when i host what is the solution
Have you followed all my steps one by one? If yes, then go to the database and delete all session records within the session table... Error is due to because your website is loading the sessions data from database but you make it live now, so it should not use local device environment.... Also make sure to delete cache files which I told in video, these files often disturb this process
So why is it giving an error of database? The website which does not have database just need to upload it in public_html folder and by default hostinger will load the index.html file. That's it...
sir mera bootstrap m cache folder ke ander config.php , event.php, route-v7.php file hai kya is sab file ko mai delete kardu? inko delete karne se project me aage koi problem to nhi aaigi??? and apka video kafi acha that sabhi aspect apne cover kiya deploy karta samay🤗🤗🤗🤗
Agr live Krne K bad koi problem a rhi ha like:403 ya koi or error. to ap delete KR dena. Agr nhi a rhi to rehne dena... Because ye sab files cache files han, isliye aksr problem create krti han
I hope you found this video helpful! If you encounter any issues or errors, please leave a comment below. I'm here to assist and resolve any problems together. 😊
.htaccess_file link: .htaccess_file download link: drive.google.com/file/d/1oefwN7MP6hpT6oU-lJ2SlTuc5-rnM1S8/view?usp=drive_link
Thank you Sir, Excellent Explanation
Always welcome
Make sure to subscribe for future amazing videos
Amazing video ❤, thanks
Always welcome ❤️
Thank you so much sir
Always welcome 🤗
Make sure to subscribe plz
when i tried it for first time it worked but when i tried to make setup for my actual project its not working !
Why
Whats the error?
Tell me error so that we can resolve it
i have uploaded laravel files under subfolder of public_html (public_html/subfolder) so what changes should i make to live the project. Please help me make it work
Move your website files from subfolder to public_html and if your website does not have a database, so just make sure that your index.html file exists there, because hostinger or any other hosting platform targets index.html file always by default....
Wa Alaikum Assalam. Dear Sir, could you please suggest the best Laravel course for me? I have worked on some projects in simple PHP, so I have a basic understanding of Laravel. My main question is: for building an eCommerce project, should I learn Laravel with AJAX, Livewire, or just use simple Laravel?
For e-commerce project I suggest you to use Laravel with Livewire. Definitely there will be a little bit use of Ajax but Laravel with livewire will be enough for it. I'll make a proper playlist for it also inshallah...
@@codeblogcrafter Thank you❤
Always welcome 🤗
Mery pass hostinger k hosting hai. Aur uss pa ikk wordpress website live hai.
Ab may uss may sy data base create kia hai. Admin panel host krny k liye.
Jab zip file ko public_html may upload kr na hota likn public _html kuch file hai already ab kia kro wo file delete kro ya ni? Website k liye koi issue tu ni ai gi?
Nahi ap ko pehle wali files delete Nahi krni because wo WordPress website Ki files han.
Or agr admin panel host krna ha to ap ko hostinger platform se us K liye EK subdomain create krni chahiye agr new domain Nahi ha, then hostinger ap K liye EK separate file manager create KR de ga sirf us admin panel ko host Krne K liye, then ap us file manager K under ja KR ap files upload KR skte han.
Hostinger will create a dedicated folder in public_html for just this admin panel, so don't disturb other files there ...
@@codeblogcrafter ❤️❤️
sir, is it possible to deploy wildcard subdomain laravel project in hostinger hpanel with htaccess
Yes, you can.
But there are a few things you need to set up.
First, Hostinger must allow wildcard subdomains, and you’ll need to add a wildcard DNS record like *.yourdomain.com pointing to your server's IP. Then, in your .htaccess file, make sure all requests (including subdomains) are redirected to Laravel's public/index.php.
@@codeblogcrafter sir, hostinger hpanel not allowing to add wildcard subdomain in domain manager, If i add wildcard DNS record pointing ip and make htaccess changes may i know whether it work..
Database file at path [C:\xampp\htdocs\Uniquepact\database\database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "sessions" where "id" = 2LvBXKf3EmaHeitMx4RWRP8Y1CqLR5AKSJQgkqMf limit 1)
this error show when i host what is the solution
Have you followed all my steps one by one?
If yes, then go to the database and delete all session records within the session table...
Error is due to because your website is loading the sessions data from database but you make it live now, so it should not use local device environment....
Also make sure to delete cache files which I told in video, these files often disturb this process
@@codeblogcrafter my website doesn't have database
So why is it giving an error of database?
The website which does not have database just need to upload it in public_html folder and by default hostinger will load the index.html file. That's it...
Everyone like 😊$ sign but I mostly use @
☺️
sir mera bootstrap m cache folder ke ander config.php , event.php, route-v7.php file hai kya is sab file ko mai delete kardu? inko delete karne se project me aage koi problem to nhi aaigi???
and apka video kafi acha that sabhi aspect apne cover kiya deploy karta samay🤗🤗🤗🤗
Agr live Krne K bad koi problem a rhi ha like:403 ya koi or error. to ap delete KR dena. Agr nhi a rhi to rehne dena...
Because ye sab files cache files han, isliye aksr problem create krti han