How to Deploy Laravel 8 on cPanel || How to Upload Laravel Project on cPanel [easiest way in 2020]

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

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

  • @AjithJojo118
    @AjithJojo118  3 года назад +4

    htaccess file code codeconia.com/2020/11/17/host-laravel-8-project-on-cpanel-easiest-way/

    • @RealJPYT
      @RealJPYT 3 года назад +1

      This really helps me thanks for the video

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

      I will try this once I get home

    • @Rosegirly-p2u
      @Rosegirly-p2u Год назад

      Bro in c panel when you get our hosting website link

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

    This is the most simple way to deploy a Laravel project in CPanel… thank you 🙌🏻

  • @madman8683
    @madman8683 3 года назад +6

    Out of many tutorials, actually this did work. Thank You!

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      Glad to know that your problem fixed..

  • @lionelmuskwe
    @lionelmuskwe Год назад +2

    Thank you so much, very clear explanation. I just finished deploying my site. Also subbed

  • @TahirBhai
    @TahirBhai 2 года назад +5

    Informative video, just to make it clear, you should also change the APP_URL to your live domain from .env file.

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

    You are a genius man, So much of a hassle if you do not have softlacous

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

    watch on Speed 1.25x, You are welcome!

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

    Yeah You did it bro, You did it, Bundle of thanks, out of 100s tutorials I find the secure way to do it, Thanks a lot

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

    THANK YOU. I've deployed several laravel projects across multiple servers but those were all homemade servers with direct access to everything including Apache configs, etc.
    This was my first time really using CPanel and I for the life of me could not figure out how to get my Laravel project to use routes or use the public/index.php. Thank you, this finally fixed it.

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

    Thank you so much for this tutorial... it saved me literal hours of searching for solution

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

    Really superb easy. Save a lot of time to modify files or move them.

  • @iamtafara
    @iamtafara 6 месяцев назад

    Thank you chief,,,,, you just saved me a lot of frustration

  • @demonfury9796
    @demonfury9796 2 года назад +2

    How to run Commands like php artisan migrate
    config:cache etc

  • @ameerjohnt493
    @ameerjohnt493 3 года назад +1

    Thank you so much my issue is fixed by after htaccess code
    step

  • @ayobiao4968
    @ayobiao4968 3 года назад +3

    Amazing video. Explained everything perfectly. Thank you!

  • @joaquinmartinez8988
    @joaquinmartinez8988 Год назад +2

    HI, is secure put all files includes .env on public_html? Thx!

  • @agbenigaambali1537
    @agbenigaambali1537 3 года назад +1

    So helpful!!! Ambali from Nigeria

  • @martinfaith3034
    @martinfaith3034 3 месяца назад

    Subscribed!! God bless you, you have me from frustration am grateful

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

    thanks it works but if you are using laravel 8 downfrade your php to php8.0

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

      the video was created an year ago bro

  • @hanymax
    @hanymax 2 года назад +2

    Worked successfully Thanks brother

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

    Thank you brother, this was very helpful

  • @alexandreriera2907
    @alexandreriera2907 3 года назад +1

    Mais merci merci !
    Thank you a LOT !!! You saved my life !

  • @loopex5906
    @loopex5906 3 года назад +1

    Thank you so much bro, It was very helpful for me.

  • @codebuddy6342
    @codebuddy6342 3 года назад +4

    good explanation - he deserved more subs + 1

  • @aadarshasubedi1
    @aadarshasubedi1 3 года назад +1

    Nice tutorial bro..Love from Nepal.

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

    bro this really works. thank you!

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

    Superb tutorial sir thank you so much for that, also sir upload more interesting laravel packages.

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      sure. i will upload bro

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      checkout the latest video about documentation package

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      and subscribe to get latest videos

    • @parasnshah2899
      @parasnshah2899 3 года назад +1

      @@AjithJojo118 Yes sir

  • @benitoesteban3927
    @benitoesteban3927 11 месяцев назад

    Very straightforward, thanks! 🙏🙏🙏

  • @user-humbledawn
    @user-humbledawn 3 месяца назад

    you save my life bro thank you very much!

  • @nitnkumar-db8nu
    @nitnkumar-db8nu Год назад

    thankyouuuuuuuuuuuuuuuu So much brother

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

    thank you so much for the clear tutorial one thing i created subdomain i did all of this it says This site can’t be reached does the subdomain need time to be activated?

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

    hi, first of all thank you for the tutorial. it's very kind of you. Secondly, I did follow all the steps, but the website and css + js files are not connecting. kindly help

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

    superb tutorial and I easily got to deploy my webapp to my cpanel. Why other tutorial not working? too much complexity, moving file here and there, changing path this and that yet still not working which taking almost 15-30 minutes video duration. This can do this, below than 10 minutes.

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

    Good job mate. Thank you very much !

  • @mosescodes3677
    @mosescodes3677 6 месяцев назад

    Thank you so much

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

    Well done 👍

  • @cyeg12c
    @cyeg12c 3 года назад +1

    finally youtube understand what i really want insted of some long bullcrap

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

    Thank you bro, very good !!!

  • @subins8607
    @subins8607 3 года назад +1

    thanks a lot bro its works perfectly

  • @GiorgiBekurashvili
    @GiorgiBekurashvili 11 месяцев назад

    Maan, you are a hero!

  • @mosescodes3677
    @mosescodes3677 6 месяцев назад

    does anyone know how to configure public storage after running the app production? thank you

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

    thanks brother.....

  • @al3nzy6
    @al3nzy6 3 года назад +1

    Did you use jetstream with?
    In live server you do not have to npm install & npm run because Cpanel only support nodejs 10 and jetstream require at least nodejs version 12

    • @AjithJojo118
      @AjithJojo118  3 года назад

      yes with Jetstream..

    • @al3nzy6
      @al3nzy6 3 года назад +1

      @@AjithJojo118 ok i will try it thank you

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

    in laravel jetstream we have a "node_modules" folder, Should it be uploaded too?

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

      if you run "npm run build" thn u dont need to upload the node modules folder

  • @catchthecoin1550
    @catchthecoin1550 3 года назад +1

    thanks, worked it. i subscribed

  • @md.masudhossain8293
    @md.masudhossain8293 11 месяцев назад

    hats off 🙂 bro

  • @shivansh901
    @shivansh901 3 года назад +1

    thanks man, it worked

  • @ivo9563
    @ivo9563 3 года назад +1

    4:40 I recomment not to display passwords in video, this video part maybe it's possible change to a fog. You give possibility for cyber bad guys for kracking in such way.

    • @AjithJojo118
      @AjithJojo118  3 года назад

      its auto generated password and after recoding the video i do delete that bro

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

    In future, whilst the application is in production, if I add new migration and run it locally, do I have to export the database from my local machine and import it on Cpanel?

  • @cookink2776
    @cookink2776 3 года назад

    thank u very much, if I want to change the ui and update it should I use the same way ?

  • @-virudhaivinmeen9304
    @-virudhaivinmeen9304 2 года назад

    Thanking you Bro..
    super..

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

    Best process thanks

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

    I have a question. In the .env file I change one of the variable. And is not reflecting. What should I do to reflect to my site?

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

    Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". I got this error message can u help me ?

  • @sureshadhi9847
    @sureshadhi9847 3 года назад +1

    Thank you so much 💗🥰

  • @Arif-eb4cd
    @Arif-eb4cd 3 года назад +1

    It worked thanks alot

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

    Thanks

  • @vanhelsingx69x
    @vanhelsingx69x 10 месяцев назад

    What if my website doesnt use a database? What should I write in .env?

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

    What is i want to deploy inside a folder in public_html

  • @charmantmimpembe8939
    @charmantmimpembe8939 3 года назад +1

    c'est super cool merci bcp

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

    Pls help me
    laravel api routes not working on live server

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

    do you have same type of tutorial in which i can clone a project from cpanel to another domain name (cpanel)

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

    great one

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

    there is a problem on uploading this on a subdomain, please tell me how to fix this

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

    Thanks Really help

  • @olawumisegun5898
    @olawumisegun5898 3 года назад +1

    Please how can one add ssl certificate to laravel 8 app on cpanel. Thank you

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      already created a video about getting free ssl bro .. please check the my videos

  • @RizwanPatel
    @RizwanPatel 3 года назад +1

    Superb bro...

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      thanks bro

    • @RizwanPatel
      @RizwanPatel 3 года назад

      @@AjithJojo118 but will it not effect security?

  • @coverpages8503
    @coverpages8503 3 года назад +1

    Thanks bady

  • @infopedictechie1667
    @infopedictechie1667 3 года назад +1

    Love u brother...

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

    hello am getting
    SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected

  • @azizdafaputra3163
    @azizdafaputra3163 3 года назад

    Thank you sir!

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

    500
    Internal Server Error
    An internal server error has occured.
    i did everything as u told in video but didnt worked

  • @meFawadIqbal
    @meFawadIqbal 3 года назад

    Dear, it is easy to upload it to root public_html. Kindly make video where you upload it to sub folder, or sub domain. Thank You

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

      use the same procedure for uploading to a sub domain

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

    Thank you 💯

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

    Hey Ajith, how should i do it for subdomain for staging

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

    thanks for your vieo , but your explanations was too few and i didn't figure out some parts

  • @davidisraelmunozsaucedo6640
    @davidisraelmunozsaucedo6640 3 года назад

    how to create a symbolic link, to storage on to public_html

  • @mayurmali9761
    @mayurmali9761 10 месяцев назад

    How to run queue?
    How to run migration?

  • @hashikvu5730
    @hashikvu5730 3 года назад +1

    But, here we can access the site with "public" url too

    • @AjithJojo118
      @AjithJojo118  3 года назад

      do not think that's a bug .. consider as its a feature 😉😉
      if you want, you can block the access using htaccess bro 😃

    • @hashikvu5730
      @hashikvu5730 3 года назад

      @@AjithJojo118 : actually it's a bug, but not an error. Because we should keep a unique URL for each page. otherwise, Google will consider it as duplicated content/pages.

    • @AjithJojo118
      @AjithJojo118  3 года назад

      @@hashikvu5730 thn we can block that using htaccess ..

    • @AjithJojo118
      @AjithJojo118  3 года назад

      will update our htaccess file code soon

    • @hashikvu5730
      @hashikvu5730 3 года назад +1

      @@AjithJojo118 you can forget the htaccess file
      Follow the steps below
      Server
      1 : Create a folder behind the public_html (root) (ex: project_core)
      2 : Move all the stuff from Laravel project (except the public folder and its content) to the folder 'project_core'
      3 : Move all the stuff from the public folder to the public_html folder (root)
      3.1: open the index.php (public_html) file and change the path of vendor and bootstrap

      example

      require __DIR__.'/../project_core/vendor/autoload.php';
      $app = require_once __DIR__.'/../project_core/bootstrap/app.php';

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

    I am getting
    "Class 'PDO' not found error"
    Error 500 whenever there is a call to back-end
    Please help

  • @mentejhonriyelf.2853
    @mentejhonriyelf.2853 Год назад

    can anyone teach me how to find that file manager?

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

    I tried installing laravel script and i keep getting error 500

  • @sohampatel2782
    @sohampatel2782 3 года назад +1

    Access denied for user 'myusername' @ 'localhost'....... Why still i am getting localhost here

    • @AjithJojo118
      @AjithJojo118  3 года назад +1

      you forgot to watch this part ruclips.net/video/WN2hHvxMHTI/видео.html

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

      u are getting localhost means , that for your database .. ur database on the same server .. and u missed the the part of the video ruclips.net/video/WN2hHvxMHTI/видео.html

    • @sohampatel2782
      @sohampatel2782 3 года назад +1

      I resolve the error. It was due to wrong user name

    • @AjithJojo118
      @AjithJojo118  3 года назад

      @@sohampatel2782 okay cool

  • @remanbala7532
    @remanbala7532 3 года назад

    after uploading, my data are not getting saved and sweet alert is also not working. How to fix it?

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

    can we upload laravel with inertia in cpanel...?

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

    bro i upload it .....but cloud not find driver .....error comes......how it solve

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

      bro share the details including error screenshot in our forum forum.codeconia.com/

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

    subdomain il upload same way aano

  • @adnanzaib3374
    @adnanzaib3374 3 года назад

    Hello brother. Hope u alright.
    I upload laravel project on cpanel.
    First create folder outside public_html with the name of realestate, where I extract my project. And place public folder inside public_html folder.
    My all images are showing on the website. But
    The problem is that when I upload images it never save/upload to public images folder.
    I don't know how I can solve this issue. Maybe somewhere I need to set path.. Help me to solve the issue.?

    • @AjithJojo118
      @AjithJojo118  3 года назад

      yeah am fine .. hope u are safe too ..
      yes that is a path error .. have to check how u defined ur upload paths ..

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

    i am facing one error bruh a saml bug

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

    still access denied!!!🙁

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

    How create laravel project sub domain

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

    mine is giving server error

  • @vladkyrychuk6005
    @vladkyrychuk6005 3 года назад

    can you tell me why the whole project works on web hosting but the chat(chatify) gives 403 access denied? but if in a url to add public / index.php that it works,but not correctly(js).
    .htaccess in root:
    RewriteEngine on
    RewriteRule ^$ public/ [L]
    RewriteRule ((?s).*) public/$1 [L]
    public/.htaccess:
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]

    • @AjithJojo118
      @AjithJojo118  3 года назад

      yes show me the code .. send to my email ajithjojo07@gmail.com

  • @prashantjadhav5617
    @prashantjadhav5617 3 года назад

    I am getting below error
    Warning: require(/storage/ssd3/370/16599370/public_html/vendor/composer/../../app/helpers/common.php): failed to open stream: No such file or directory in /storage/ssd3/370/16599370/public_html/vendor/composer/autoload_real.php on line 71

    • @AjithJojo118
      @AjithJojo118  3 года назад

      share me more details ,, will tell u why

    • @prashantjadhav5617
      @prashantjadhav5617 3 года назад

      @@AjithJojo118 I have email you all the details on ajithjojo07@gmail.com

  • @ahmedishti50
    @ahmedishti50 Месяц назад

    very noise on your sound

  • @neerajsinghtangariya2587
    @neerajsinghtangariya2587 3 года назад

    why we need to create .htaccess file...
    And if suppose I have 2 3 project then how can I upload it.

    • @AjithJojo118
      @AjithJojo118  3 года назад

      we creating the htaccess file to redirect to our public directory. and if u having 2 3 projects on subdomains u have to do the same there too

    • @neerajsinghtangariya2587
      @neerajsinghtangariya2587 3 года назад

      @@AjithJojo118 Is this .htaccess file access the css js sotrage path which is inside the public folder

    • @neerajsinghtangariya2587
      @neerajsinghtangariya2587 3 года назад

      @@AjithJojo118 nd if u having 2 3 projects on subdomains u have to do the same there too: how..? Means to say that you did extract the app withing the public_html...now If I extract other app under public_html then I think i will conflict with previous app..
      For other app should I have to create subdomains...?

    • @AjithJojo118
      @AjithJojo118  3 года назад

      actually the index file inside our public folder is the access point .. we just redirecting users to directly into it using the htaccess file

    • @AjithJojo118
      @AjithJojo118  3 года назад

      do u mean u want to host multiple applications inside ur public html folder and inside of some folders ? better for laravel u have to use subdomains ..

  • @jerinjoseph394
    @jerinjoseph394 3 года назад +1

    👍

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

    Index of /
    This issue i am facing

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

      add htaccess file

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

      @@AjithJojo118 still have same issue after adding the htaccess file in root folder as per your instruction

  • @ayeshazakria2215
    @ayeshazakria2215 3 года назад

    where is .sql file how to get that ?

    • @AjithJojo118
      @AjithJojo118  3 года назад

      get the sql file from your database manager (if you have any)

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

    404 | Not Found Sir