How to Deploy Laravel Project on Hostinger - Version 11/10/9/8

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 30

  • @codeblogcrafter
    @codeblogcrafter  4 месяца назад +3

    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

  • @mohammadishaqnoori9728
    @mohammadishaqnoori9728 8 дней назад +2

    Thank you Sir, Excellent Explanation

    • @codeblogcrafter
      @codeblogcrafter  7 дней назад +1

      Always welcome
      Make sure to subscribe for future amazing videos

  • @sayyamCode
    @sayyamCode 4 месяца назад +2

    Amazing video ❤, thanks

  • @Bestforyou9940
    @Bestforyou9940 3 месяца назад +1

    Thank you so much sir

    • @codeblogcrafter
      @codeblogcrafter  3 месяца назад +1

      Always welcome 🤗
      Make sure to subscribe plz

  • @SaudJuwale
    @SaudJuwale 27 дней назад +1

    when i tried it for first time it worked but when i tried to make setup for my actual project its not working !

    • @codeblogcrafter
      @codeblogcrafter  27 дней назад +1

      Why
      Whats the error?
      Tell me error so that we can resolve it

  • @sagarsharma7443
    @sagarsharma7443 20 дней назад +1

    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

    • @codeblogcrafter
      @codeblogcrafter  19 дней назад +1

      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....

  • @apnaabasyn8887
    @apnaabasyn8887 4 месяца назад +2

    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?

    • @codeblogcrafter
      @codeblogcrafter  4 месяца назад +2

      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...

    • @apnaabasyn8887
      @apnaabasyn8887 4 месяца назад +3

      @@codeblogcrafter Thank you❤

    • @codeblogcrafter
      @codeblogcrafter  4 месяца назад +2

      Always welcome 🤗

  • @Rihaadawar
    @Rihaadawar 20 дней назад +1

    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?

    • @codeblogcrafter
      @codeblogcrafter  19 дней назад +2

      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 ...

    • @Rihaadawar
      @Rihaadawar 19 дней назад +1

      @@codeblogcrafter ❤️❤️

  • @kishorekumar7672
    @kishorekumar7672 18 дней назад +1

    sir, is it possible to deploy wildcard subdomain laravel project in hostinger hpanel with htaccess

    • @codeblogcrafter
      @codeblogcrafter  18 дней назад +2

      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.

    • @kishorekumar7672
      @kishorekumar7672 18 дней назад

      @@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..

  • @codiiking300
    @codiiking300 Месяц назад +1

    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

    • @codeblogcrafter
      @codeblogcrafter  Месяц назад +1

      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

    • @codiiking300
      @codiiking300 Месяц назад +1

      @@codeblogcrafter my website doesn't have database

    • @codeblogcrafter
      @codeblogcrafter  29 дней назад +1

      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...

  • @UqabOp
    @UqabOp 4 месяца назад +1

    Everyone like 😊$ sign but I mostly use @

  • @webmaster833
    @webmaster833 3 месяца назад +1

    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🤗🤗🤗🤗

    • @codeblogcrafter
      @codeblogcrafter  3 месяца назад +1

      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