How To Deploy Node JS Website To Shared Hosting or cPanel

Поделиться
HTML-код
  • Опубликовано: 30 дек 2020
  • How To Deploy Node JS Website To Shared Hosting or cPanel
    this video will show you step by step process of deploying node js website to cpanel with mysql database and configuring database.
    You can comment below if you have any questions.
    RecyclerView Implementation tutorial
    • RecyclerView Implement...
    Tab Layout with ViewPager Android tutorial
    • Tab Layout Using View ...
    Subscribe to channel
    / @learningpointofficial

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

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

    Hey guys, Thank you very much for the support for this video. Check my New Video about how to deploy react App for free to github pages. ruclips.net/video/RbB1JRKRn7I/видео.html

  • @Te-rt7bq
    @Te-rt7bq 3 года назад +7

    Lifesaver ---- I sat thru your video n learnt what needed to after having struggled on how to figure getting my app up.👌🏽 Deeply appreciated.

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

    Shalom morning. Thank you for going the extra mile and giving us more important information! I appreciate that!

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

    Thanks for great explanations!

  • @georgesmayrink2305
    @georgesmayrink2305 3 года назад +21

    The title said “Deploy Node.js” and in a 15min video, 9min were used describing how to create a MySQL database. That makes no sense but... Anyway, thanks for the video. The last 6min had some good information. 👍🏻

    • @LearningPointOfficial
      @LearningPointOfficial  3 года назад +11

      apologies, but most videos that are available actually do not tell anything about creating database and linking it so that step was crucial for deployment that's why it was stressed the most .
      Thanks

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

    Great video. Thank you

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

    Thank you so much, you are a legend!

  • @SaddamHussain-lf5rg
    @SaddamHussain-lf5rg 3 года назад +1

    Thanks Buddy you saved me. Thumbs Up

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

    Freaking lifesaver. Thanks!

  • @md.fakweruddinmazumder9063
    @md.fakweruddinmazumder9063 2 года назад +1

    Thank you ❤️

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

    Thank you so much

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

    Awesome, thankyou brother...

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

    Great video♥️

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

    thank you

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

    Thank you very much

  • @azizabenzhirou7331
    @azizabenzhirou7331 8 месяцев назад

    Thank u

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

    my domain DNS is controlled via cloudflare, so how do I point the cPanel to my CNAME ?

  • @racheal9533
    @racheal9533 2 года назад +4

    how do I deploy react frontend and node js backend to shared hosting / cPanel or through github to shared hosting?

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

    Thanks 👍

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

    Thanks for the video. I had a lot of doubts about this. In your code what is the port the node js app is using?

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

      it automatically picks port but you can specify incase environment does not have it. so i was using 3000

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

      @@LearningPointOfficial How to know what port it is using?

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

      hi..did you solve your port problem? I use 5000 as a port number in my local PC. When I deploy my website via cPanel, what / how should I set for my port number?

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

    hello, i coudnt find the set up node js application in my cpanel... how can i make it show?

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

      probably your hosting provider does not support it. you can search if it is available or contact your hosting provider

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

    i am using hostigator and my cpanel does not appear node js bro just tell me which hosting provider you are using

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

    Error
    /home/dgpmallc/nodevenv/nodejsapp/12/bin/npm: fork: Cannot allocate memory
    I get this error when i run npm install. Can anyone tell me why?

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

    when i deploy in the cPanel 1st time data can not getting showing.. what i have to do can u say?

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

    Thanks

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

    Hi, i have a website already hosted in the public_html and my app.js running. But how they do connect with each other?

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

      node js does not require website to be placed inside public_html you can place it outside on root folder. easiest way is to upload whole node js app inside root directory.

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

    which hosting support node js apps in cpanel

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

    Which web hosting did you use for brother?

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

    what is the nodejs lastest version supported by Cloudlinux?

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

    will bluegeek server supports php=-mongodb connection?

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

    How to do it in Hostinger on shared hosting plan with it's hpanel?

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

    very nice and helpful video.
    In my case when i run website and some error in code occur it show me 503 error. How can i find the error in cpanel to fix it ?? Thanks

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

      look for log file inside you cpanel file manager folder. that log file contains all the errors information. but generally this error means 503 Service Unavailable server error response code indicates that the server is not ready to handle the request.

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

    Can we get this project on git?

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

    with cron?

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

    Tnx man

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

    Hi, I buy hostinger vps server and setup my cPanle through whm, install all dependancy and nodejs 16 but I can't find setup nodejs application button in my cPanle, how can I enable that

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

      I guess you gotta change your plan then, its not included probably in your current plan.

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

    Which shared hosting it is and what different shared hosting provider support this as i have looking in the web that not all are supported and it depends on hosting provider. Please anyone let me know

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

      i am using namecheep shared hosting , bluehost does not support this unless you purchase dedicated hosting . so you need to look if your hosting provider supports Node Js application

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

    Thank for the tuto, But I've a issue when a want to to a another route of my app (error : Internal server)

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

      there is an error with your database connection or something like that which make your app crash.

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

      @@LearningPointOfficial i use express , "exemple.com" work ok but when i want access to "exemple.com/hello-world", the server return "internal server 500"

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

    npm WARN lifecycle The node binary used for scripts is /home/bestvdgd/nodevenv/nodejsapp/10/bin/node but npm is using /opt/alt/alt-nodejs10/root/usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. ===== i got this error , pls help me to resolve it

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

      stackoverflow.com/questions/51293566/how-to-include-the-path-for-the-node-binary-npm-was-executed-with

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

    hi i keep getting this error "cant aquire .lock for app" whn trying to restart or stop the app, the "run script > start" goes indefinitely and the itself gives this error Error: secret option required for sessions when opened (yes i tried to access it even with the above errors) even whent he secret is fed into the .env file, it works on another hosting by the same company

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

    Very nice. I am using like this in my local app.listen(3001, () =>{
    console.log("Node running");
    }) After deployment what should I write here

    • @david.r722
      @david.r722 Год назад +1

      instead of that is a better option something like this -> app.set('port', process.env.PORT || 4000), after this - > app.listen(app.get('port'), () => {
      console.log('Server on Port', app.get('port'))
      }).
      'cuz if the hosting provide you a port, node will running in that port if not running in 4000 or whatever you want

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

    awesome video, but u don't have to run the js scripts. it runs infinitely so I stopped the running app and got into a mess with a lock and stuff. thank god stack overflow

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

    Is possible to install umami.is analytics in cpanel node.js

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

    i see in one of the hostinger article saying, "Node.js is not supported on Shared and Cloud hosting packages."? Why?

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

    Did you use NodeJS Express server for your application??

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

    Great video
    But sir I got one error of
    403 Forbidden Access Denied Error.
    Is there any error in .htaccess file?
    Please help me with this
    Thankyou

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

    Why you dont respond the guys who asking you, which web hosting you are using?

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

    I love you

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

    Hello sir, Can you tell us, Can I deployed the Strapi on cPanel?

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

      sorry i read it late, if you are still facing any issue let me know i'll make a video on that

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

      @@LearningPointOfficial yes can you make a video on installing gatsby, strapi OR node Js on cpanel ?

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

      @@neerajsinghtangariya2587 sure, i'll make one shortly

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

    what will be the startup file for a React App?

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

      please check this : medium.com/@aforamitrai/how-to-deploy-react-app-on-shared-hosting-cpanel-d682b0342424

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

    Please mention which Hosting site is providing Nodejs setup

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

    Any hint on where to find the active app logs?

  • @dev-c6905
    @dev-c6905 2 года назад

    Nodemailer does not working after deploying on Cpanel shared hosting!!
    How to solve it??

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

      i am currently having the issue, please how do you solve it?

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

    Sir setup nodejs is not showing up

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

    hi, how can i run puppeteer?

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

    bro ma godaddy ka cpanel use krta ho us ma yeh option nahi ha, ap konce hosting use kr rhy ho

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

      namecheep, bluehost dono men hai . i don't know about godaddy. but it should be there

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

    How do you link the css file I can't get it to work.

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

      use reletive linking.

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

      @@LearningPointOfficial Thanks I'll look into that,

  • @mohitsharma-pt2jd
    @mohitsharma-pt2jd 2 года назад

    what the port for app.js my server is not running in cpanel please rply

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

      it picks automatically from the process or if it does not find it, it runs on port specified

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

    I followed your video but I do not have the 'Set up node app' option in my cpanel. Can you please help?

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

    sir i l have tried it but it shows 503 service unavailable🥺

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

      yes is the same problem

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

    Hello!
    Bro there is no option [ NODE ] in cPanel.
    Please Help

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

      you need to switch your hosting plan. probably you need vps plan but namecheep basic plan offer it, which i am using.

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

    Can we use mongodb instead of mysql?

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

      MongoDB is not installable on shared hosting. You will need to be on a VPS or Dedicated hosting plan to install it on your server.

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

      @@LearningPointOfficial I have nodeJs website with MongoDB, How can I deploy it with my current hosting?

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

    Which hosting provider are you using?

  • @AshutoshKumar-kt1dd
    @AshutoshKumar-kt1dd 2 года назад +1

    I can't find "Setup Nodejs App" in my CPanel

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

      did you found any solution ?

    • @AshutoshKumar-kt1dd
      @AshutoshKumar-kt1dd 2 года назад

      @@Moreynium according to my understanding in order to enable that option I will have to shell out more money, basically I will be required to purchase ssl certificate then only that option will become visible. Please let me know if you think otherwise.

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

    There's not much point clicking the "setup nodejs app" when it states in there it's exclusive for Namecheap customers. #fail

  • @AhsanAli-we8ph
    @AhsanAli-we8ph 3 года назад

    On my cPanel, I don't have any nodeJS option

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

      probably your hosting provider does not support it. you can search if it is available or contact your hosting provider

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

    which is the hosting provider

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

    how can we deploy next.js project on cpanel.

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

      Well, SSH comes handy for complex apps. You can deploy next.js too. A proper MERN stack can be deployed on the cpanel

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

      @@wisdomcoder I just want to deploy next.js not MERN

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

      @@vikrantavishwakarma3281 build your project and upload it to cpanel
      Is front end projects not server-side no need steps like a NodeJs app

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

    sir...after i click on run script...that running scripts loading section keeps on loading indefinitely....What to do ?

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

      you need to ask your hosting provider to stop it. or create new app and deploy there

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

      @@LearningPointOfficial sir I created new apps and deleted previous ones many times but the same problem exists ?

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

      @@kumarsiddharth6275 deleting is not an option here , instance still remains running in the background. you have to contact hosting provider to manually stop it. that's the only solution i think.

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

      @@kumarsiddharth6275 if you create new app in that case you need to change directory in file manager. i mean you need to create another copy of source code with different folder name because the other directory is already locked because of execution

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

      @@LearningPointOfficial thanks sir for your reply...I will contact you again after trying this

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

    how to find NodeJS HTTP Port

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

      This will give you port set in env file, on production : process.env.PORT

  • @elhamuddin.mahmoodi
    @elhamuddin.mahmoodi 3 года назад

    In my cpanel (setup nodejs app) is not there why?

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

      you need to change your hosting plan, or even switch hosting provider. blue host shared hosting plan does not have this. you have to switch to vps hosting plan to get this. that might be the case with your hosting provider

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

      dude did you solve that?

    • @elhamuddin.mahmoodi
      @elhamuddin.mahmoodi 2 года назад

      @@yusufnadaroglu4108 No bro I did not try, but as he said you must upgrade your hosting plan

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

    Which service it is

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

    This video takes too much time going into details of database installation, user config, sub-domain creation, etc.
    There is no discussion or configuration for how Apache will handle Node.js requests - this is the hardest thing with Node on cPanel and you've just avoided it all.

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

    Hello,
    There is no "Setup node js button" on cpanel
    how do I enable it?

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

      what solution you have found on this?

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

      @@Moreynium we contacted supported they suggested we should have dedicated hosting for that. We switched to heroku.

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

    هذا كهربائي

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

    bruh

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

    Sir I need help

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

      yes ?

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

      @@LearningPointOfficial I installed this but if I use any .js file it's showing codes not working!

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

    Hello bro, when i try to deploy node.js app with puppeteer module, Don't work :(

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

      yes that's true. i had the same issue once : this can help : www.digitalocean.com/community/questions/problem-with-puppeteer-npm-node-js

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

    Absurd or too bad explanation

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

    Useless

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

    i hwe a query to ask,hw do i contact u

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

    bahi apka whtsapp mel sakta koc help chaye ti kox sawal hau delpoyement k realted jazaAllah

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

    Hi, can I have your email? I want to ask about hosting node js and install express in my hosting. I have an error, plsss 🙏🏻