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

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

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

  • @thesis-rz8mg
    @thesis-rz8mg 2 года назад +6

    hello. what is the code under .htaccess file? can i get it

    • @takneekicode
      @takneekicode  2 года назад +3

      Yes, it is available on the internet also.
      stackoverflow.com/questions/24620505/laravel-htaccess

  • @ParvezAlam-zj5pf
    @ParvezAlam-zj5pf 8 месяцев назад +3

    Thanks dude! Just what i needed in a concuse way

  • @nyakehpalmer3875
    @nyakehpalmer3875 Год назад +4

    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

  • @jeanwona2689
    @jeanwona2689 Год назад +5

    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  Год назад +1

      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?

    • @halith_s
      @halith_s Год назад

      ​​@@jeanwona2689hey did u solved the error?

  • @JohnSmith-co1zv
    @JohnSmith-co1zv Год назад +7

    Isn't it dangerous to host the application inside public html?

    • @VIRAL_VIDEOS_Y.T
      @VIRAL_VIDEOS_Y.T Месяц назад

      How do u know all this. Where to learn all this​@@iskelbimai-lt

    • @justinemadem1169
      @justinemadem1169 10 дней назад

      @@iskelbimai-lt I did this but it resulted to HTTP ERROR 500

    • @justinemadem1169
      @justinemadem1169 10 дней назад

      After I Followed his tutorial, It work but the design (Tailwind) didn't connect.

  • @muzammilabbas2610
    @muzammilabbas2610 2 года назад +1

    Very informative sir.. Please also make a video on ajax with laravel

    • @riadhcoding
      @riadhcoding 2 месяца назад

      Ajax not use inside Laravel instead use live wire

  • @justinemadem1169
    @justinemadem1169 10 дней назад

    It worked on me, but the design (Tailwind) is not showing

  • @alexara1396
    @alexara1396 28 дней назад

    Can you run php artisan websocket:serve and queue:work on that shared hosting?

  • @justinjustinjustin7862
    @justinjustinjustin7862 Год назад +1

    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  Год назад +1

      Delete the default file and upload the htaccess it should work

  • @dr.ankitpatel6446
    @dr.ankitpatel6446 Год назад +2

    I successfully deployed the laravel 8 application with database but on clicking the menu the routes are not working.. Please help sir

    • @takneekicode
      @takneekicode  Год назад +1

      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

  • @astartesidon609
    @astartesidon609 5 месяцев назад

    .env without caching sometimes create unexpected behavior.. better to run optimize first ,, or just be ready everything before upload

  • @vhonbautista7157
    @vhonbautista7157 11 месяцев назад +1

    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 11 месяцев назад

      Were you developing your project in some folder of xampp?

  • @oussamarachid3747
    @oussamarachid3747 11 месяцев назад +1

    thanks a lot chef🙏

    • @takneekicode
      @takneekicode  11 месяцев назад +1

      Most welcome 😊 👍🏻

  • @keikahakari3398
    @keikahakari3398 6 месяцев назад +1

    can dbeaver be use?

  • @annbonador
    @annbonador 2 года назад +3

    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  2 года назад +1

      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

  • @ngohien8761
    @ngohien8761 Год назад +1

    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 Год назад +1

      thank for support . I have done change version php 8.4 -> 7.4 so my website have work again with laravel 8

  • @vinayaksen8126
    @vinayaksen8126 7 месяцев назад +1

    I am getting index of / . what should i do

    • @takneekicode
      @takneekicode  7 месяцев назад

      Please follow all step and make sure your htacces file is correct

  • @jeffagaming732
    @jeffagaming732 4 месяца назад

    thank you bro, you handsome

  • @cameleonarabic8124
    @cameleonarabic8124 Год назад +1

    does hostinger support 9.5?

  • @anzarcademy
    @anzarcademy Год назад +1

    what about npm?

    • @takneekicode
      @takneekicode  Год назад +1

      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.

  • @rammmzel
    @rammmzel Год назад

    Why do u have htaccess at first

  • @TusharZambare
    @TusharZambare 2 года назад +1

    not for laravel 9

    • @takneekicode
      @takneekicode  2 года назад

      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 10 месяцев назад +1

    This is for free

    • @takneekicode
      @takneekicode  9 месяцев назад +1

      No, you need to buy Hostinger account.

  • @lazy_coding
    @lazy_coding 2 месяца назад

    I disliked the video for the reason ignoring security when it comes to sharing most essential files out in public. This is worst than anything